From 2c4b99fbe610c7ab0dcb67c92feddd9d2945e3fd Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Mon, 7 Oct 2013 11:39:07 -0700 Subject: Ellipsize titles in middle, otherwise end. Long document titles can include distinguishing details at the end of the title, so ellipsize in the middle. All other details ellipsize at the end. Bug: 11081420 Change-Id: I2c266ebc594d2ad383033b435acb8adb5fb823bc --- packages/DocumentsUI/res/layout-sw720dp-land/item_doc_list.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/DocumentsUI/res/layout-sw720dp-land') diff --git a/packages/DocumentsUI/res/layout-sw720dp-land/item_doc_list.xml b/packages/DocumentsUI/res/layout-sw720dp-land/item_doc_list.xml index 851061f..adbb9da 100644 --- a/packages/DocumentsUI/res/layout-sw720dp-land/item_doc_list.xml +++ b/packages/DocumentsUI/res/layout-sw720dp-land/item_doc_list.xml @@ -64,7 +64,7 @@ android:layout_weight="0.5" android:layout_marginEnd="12dp" android:singleLine="true" - android:ellipsize="marquee" + android:ellipsize="middle" android:textAlignment="viewStart" style="@style/TextAppearance.Medium" /> @@ -83,7 +83,7 @@ android:layout_weight="0.25" android:layout_marginEnd="12dp" android:singleLine="true" - android:ellipsize="marquee" + android:ellipsize="end" android:textAlignment="viewStart" style="@style/TextAppearance.Small" /> @@ -95,7 +95,7 @@ android:layout_marginEnd="12dp" android:minWidth="70dp" android:singleLine="true" - android:ellipsize="marquee" + android:ellipsize="end" android:textAlignment="viewEnd" style="@style/TextAppearance.Small" /> @@ -107,7 +107,7 @@ android:layout_marginEnd="12dp" android:minWidth="70dp" android:singleLine="true" - android:ellipsize="marquee" + android:ellipsize="end" android:textAlignment="viewEnd" style="@style/TextAppearance.Small" /> -- cgit v1.1