From a23dab9c646f2f59b503bc4436183d477b8ad492 Mon Sep 17 00:00:00 2001 From: Hyunyoung Song Date: Thu, 9 Apr 2015 16:54:31 -0700 Subject: WidgetTray UI improvement - Long application title should be ellipsized - Disable the drawable when the view is no longer attached to the window - Save the PackageItemInfo to the WidgetModel once full res icon bitmap is loaded b/19897708 Change-Id: I96f260f9d165b206905a127fcee9879556c3d0c4 --- res/layout/widgets_list_row_view.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'res/layout/widgets_list_row_view.xml') diff --git a/res/layout/widgets_list_row_view.xml b/res/layout/widgets_list_row_view.xml index c7863c7c3..017b45066 100644 --- a/res/layout/widgets_list_row_view.xml +++ b/res/layout/widgets_list_row_view.xml @@ -52,6 +52,8 @@ android:paddingTop="8dp" android:paddingLeft="16dp" android:paddingRight="16dp" + android:singleLine="true" + android:ellipsize="end" android:gravity="start|center_vertical" android:textColor="@color/widgets_view_section_text_color" android:background="@color/widget_text_panel" -- cgit v1.2.3