OSDN Git Service

Support tile title text line wraps
authorMatthew Fritze <mfritze@google.com>
Thu, 20 Oct 2016 22:35:29 +0000 (15:35 -0700)
committerMatthew Fritze <mfritze@google.com>
Fri, 21 Oct 2016 00:50:11 +0000 (17:50 -0700)
Change-Id: Ice430d03877618aacad21e5ee6167516f60f02fd
Fixes: 32239411
Test: Manual

res/layout/support_tile.xml

index e5e49f4..e294868 100644 (file)
@@ -34,7 +34,7 @@
         android:id="@+id/tile_title"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:singleLine="true"
+        android:maxLines="2"
         android:textAppearance="@style/TextAppearance.TileTitle"
         android:ellipsize="end"
         android:fadingEdge="horizontal"/>