OSDN Git Service

Change text size in spinner to avoid overlap
authorBobby Georgescu <georgescu@google.com>
Wed, 10 Oct 2012 22:00:59 +0000 (15:00 -0700)
committerBobby Georgescu <georgescu@google.com>
Wed, 10 Oct 2012 22:32:08 +0000 (15:32 -0700)
Bug: 7321747
Change-Id: Ibc58bff8710f974813d4beb89e971bdfab6acfb7

res/layout/action_bar_two_line_text.xml

index aeb9907..9b76a80 100644 (file)
         android:layout_height="wrap_content"
         android:singleLine="true"
         android:ellipsize="end"
-        android:gravity="top"
-        android:textAppearance="?android:attr/textAppearanceMedium"
-        android:minHeight="?attr/listPreferredItemHeightSmall"
+        android:textSize="15dp"
     />
     <TextView xmlns:android="http://schemas.android.com/apk/res/android"
         android:id="@android:id/text2"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:gravity="bottom"
-        android:textAppearance="?android:attr/textAppearanceSmall"
+        android:layout_below="@android:id/text1"
+        android:textSize="9dp"
         android:singleLine="true"
-        android:minHeight="?attr/listPreferredItemHeightSmall"
     />
-</TwoLineListItem>
\ No newline at end of file
+</TwoLineListItem>