summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Lee <llee@cyngn.com>2015-03-16 19:57:53 -0700
committerLinus Lee <llee@cyngn.com>2015-03-17 21:15:00 +0000
commit29025f69bdde40a919b17ac16386c96cf8de2ae8 (patch)
tree1ec117920a41bd342d3b6abf5814e3c91ec3b7dd
parenta9ad24409ff9d587941d63e36abf47bd62a3a784 (diff)
downloadpackages_apps_InCallUI-29025f69bdde40a919b17ac16386c96cf8de2ae8.tar.gz
packages_apps_InCallUI-29025f69bdde40a919b17ac16386c96cf8de2ae8.tar.bz2
packages_apps_InCallUI-29025f69bdde40a919b17ac16386c96cf8de2ae8.zip
InCallUI: Adjust dimens for hdpi
The Speaker and the pause button the call gets cut off in hdpi - adjust the dimens to make it fix Change-Id: I8cfdeaf4c21d1fc4f1beeb09fb211f8079981d2b (cherry picked from commit 2a181b8c391e7414ffd349eb23b2e374c02cba4c)
-rw-r--r--res/values-hdpi/dimens.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/res/values-hdpi/dimens.xml b/res/values-hdpi/dimens.xml
new file mode 100644
index 00000000..12bbcede
--- /dev/null
+++ b/res/values-hdpi/dimens.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2013 The Android Open Source Project
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License
+ -->
+
+<resources>
+ <!-- Padding at the left and right edges of the incall_touch_ui button
+ cluster. This padding is necessary because we can't allow the
+ buttons to be very close to the edges of the screen, due to the
+ risk of false touches (from your finger wrapping around while
+ holding the phone, *before* moving it up to your face and having
+ the prox sensor kick in.) -->
+ <dimen name="button_cluster_horizontal_padding">10dp</dimen>
+</resources>