summaryrefslogtreecommitdiffstats
path: root/res/layout/widgets_list_row_view.xml
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2015-04-09 16:54:31 -0700
committerHyunyoung Song <hyunyoungs@google.com>2015-04-09 16:54:31 -0700
commita23dab9c646f2f59b503bc4436183d477b8ad492 (patch)
tree1deb5913121a04dcc1d98340685982f6f0933ac3 /res/layout/widgets_list_row_view.xml
parent3f471440a8b6b71d4c15501a96befd3b715c9e8f (diff)
downloadandroid_packages_apps_Trebuchet-a23dab9c646f2f59b503bc4436183d477b8ad492.zip
android_packages_apps_Trebuchet-a23dab9c646f2f59b503bc4436183d477b8ad492.tar.gz
android_packages_apps_Trebuchet-a23dab9c646f2f59b503bc4436183d477b8ad492.tar.bz2
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
Diffstat (limited to 'res/layout/widgets_list_row_view.xml')
-rw-r--r--res/layout/widgets_list_row_view.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/layout/widgets_list_row_view.xml b/res/layout/widgets_list_row_view.xml
index c7863c7..017b450 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"