summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorweijiew <weijiew@codeaurora.org>2016-11-04 11:29:42 +0800
committerJay Wang <jaywang@codeaurora.org>2016-11-07 14:28:07 -0800
commit4ed6d007757a3b7a5da8dfe332fc8552e6031c13 (patch)
tree9a71090ca827878b7906c21efec3243eab1da0e4 /res/layout
parent454f90aaea5a6443702309d546bb2868630f0be2 (diff)
downloadandroid_packages_apps_Snap-4ed6d007757a3b7a5da8dfe332fc8552e6031c13.tar.gz
android_packages_apps_Snap-4ed6d007757a3b7a5da8dfe332fc8552e6031c13.tar.bz2
android_packages_apps_Snap-4ed6d007757a3b7a5da8dfe332fc8552e6031c13.zip
SnapdragonCamera: Settings display incomplete when set font size as largest
Setting item's height was limited to 50dp. The text can't be display incomplete when font size was set to largest.so,set height as wrap_content with minWidth 50dp instead of 50dp Change-Id: Ib7a778396b644e25ef0ef304e02dd0ce95b3a835 CRs-Fixed: 1085881
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/preference.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/layout/preference.xml b/res/layout/preference.xml
index e9da4f5b8..d2f3f05d3 100644
--- a/res/layout/preference.xml
+++ b/res/layout/preference.xml
@@ -18,7 +18,8 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="50dp"
+ android:layout_height="wrap_content"
+ android:minHeight="50dp"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:paddingEnd="?android:attr/scrollbarSize">