OSDN Git Service

Allows multi-line message on small-screen devices
authorLifu Tang <lifu@google.com>
Fri, 23 Aug 2013 22:18:38 +0000 (15:18 -0700)
committerLifu Tang <lifu@google.com>
Fri, 23 Aug 2013 22:32:25 +0000 (15:32 -0700)
Change-Id: Ief7e152165059cea165f1271ab27a8a42537db8f

res/layout/location_list_no_item.xml

index 864b2e4..5489a50 100644 (file)
@@ -25,7 +25,7 @@
 
     <RelativeLayout
         android:layout_width="match_parent"
-        android:layout_height="match_parent"
+        android:layout_height="wrap_content"
         android:layout_marginStart="15dip"
         android:layout_marginEnd="6dip"
         android:layout_marginTop="6dip"
         <TextView android:id="@+android:id/title"
             android:gravity="center"
             android:layout_width="match_parent"
-            android:layout_height="match_parent"
-            android:singleLine="true"
+            android:layout_height="wrap_content"
             android:textAppearance="?android:attr/textAppearanceSmall"
-            android:ellipsize="marquee"
-            android:fadingEdge="horizontal" />
+            android:textColor="?android:attr/textColorSecondary" />
 
     </RelativeLayout>