OSDN Git Service

Fix settings drawer when font size is huge
authorJason Monk <jmonk@google.com>
Wed, 20 Apr 2016 13:44:22 +0000 (09:44 -0400)
committerJason Monk <jmonk@google.com>
Wed, 20 Apr 2016 13:44:22 +0000 (09:44 -0400)
Change-Id: Id720a7e7b471ddf01ed3682882656cd838eb860d
Fixes: 28181614

packages/SettingsLib/res/layout/drawer_category.xml
packages/SettingsLib/res/layout/drawer_item.xml

index b7b50d0..582821b 100644 (file)
@@ -28,7 +28,8 @@
     <TextView
         android:id="@android:id/title"
         android:layout_width="match_parent"
-        android:layout_height="48dp"
+        android:layout_height="wrap_content"
+        android:minHeight="48dp"
         android:paddingTop="16dp"
         android:paddingBottom="16dp"
         android:paddingStart="16dp"
index 4b53049..e1f1ae5 100644 (file)
@@ -17,7 +17,8 @@
     xmlns:android="http://schemas.android.com/apk/res/android"
     android:id="@+id/tile_item"
     android:layout_width="match_parent"
-    android:layout_height="48dp"
+    android:layout_height="wrap_content"
+    android:minHeight="48dp"
     android:orientation="horizontal" >
 
     <ImageView