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-16 19:57:53 -0700
commit2a181b8c391e7414ffd349eb23b2e374c02cba4c (patch)
tree4042592e43450c223c86ea2145fa51904c494c56
parentf815c10e8cdbdc7a2bae6b4bbfff976ff2a9be6c (diff)
downloadpackages_apps_InCallUI-2a181b8c391e7414ffd349eb23b2e374c02cba4c.tar.gz
packages_apps_InCallUI-2a181b8c391e7414ffd349eb23b2e374c02cba4c.tar.bz2
packages_apps_InCallUI-2a181b8c391e7414ffd349eb23b2e374c02cba4c.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
-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>