summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAlex Hills <ahills@google.com>2015-10-13 13:04:57 -0400
committerAlexander Hills <ahills@google.com>2015-10-13 18:51:04 +0000
commit0e3c7dbdfc98fb9e79c4b2564be3fbade8896acf (patch)
treef3818f6a2f1c337c5023ed249d562527c7d423d9 /res
parent6a5762884adc64ea95bd206c46d60031428e977c (diff)
downloadandroid_packages_apps_PackageInstaller-0e3c7dbdfc98fb9e79c4b2564be3fbade8896acf.tar.gz
android_packages_apps_PackageInstaller-0e3c7dbdfc98fb9e79c4b2564be3fbade8896acf.tar.bz2
android_packages_apps_PackageInstaller-0e3c7dbdfc98fb9e79c4b2564be3fbade8896acf.zip
Modifies wear Permission title height to avoid clipping
We were explicitly setting the height of the permission screen title, which wasn't 100% guaranteed to work in all languages. This change sets minHeight (to maintain UI consistency) instead, and changes the height to wrap_content to enable it to expand further if necessary. Bug:24774285 Bug:24391658 Change-Id: Icf25ad6a176537b0f34a30f53220c73fccec2d24
Diffstat (limited to 'res')
-rw-r--r--res/layout-watch/settings_internal.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/layout-watch/settings_internal.xml b/res/layout-watch/settings_internal.xml
index afedcf47..fdd21cef 100644
--- a/res/layout-watch/settings_internal.xml
+++ b/res/layout-watch/settings_internal.xml
@@ -17,7 +17,8 @@
<TextView
android:id="@+id/header"
android:layout_width="match_parent"
- android:layout_height="@dimen/settings_header_base_height"
+ android:layout_height="wrap_content"
+ android:minHeight="@dimen/settings_header_base_height"
android:layout_marginLeft="16dp"
android:layout_marginTop="@dimen/settings_header_top_margin"
android:textSize="@dimen/setting_short_header_text_size"