diff options
author | Hyunyoung Song <hyunyoungs@google.com> | 2015-04-09 16:54:31 -0700 |
---|---|---|
committer | Hyunyoung Song <hyunyoungs@google.com> | 2015-04-09 16:54:31 -0700 |
commit | a23dab9c646f2f59b503bc4436183d477b8ad492 (patch) | |
tree | 1deb5913121a04dcc1d98340685982f6f0933ac3 /res/layout | |
parent | 3f471440a8b6b71d4c15501a96befd3b715c9e8f (diff) | |
download | android_packages_apps_Trebuchet-a23dab9c646f2f59b503bc4436183d477b8ad492.tar.gz android_packages_apps_Trebuchet-a23dab9c646f2f59b503bc4436183d477b8ad492.tar.bz2 android_packages_apps_Trebuchet-a23dab9c646f2f59b503bc4436183d477b8ad492.zip |
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')
-rw-r--r-- | res/layout/widget_cell.xml | 2 | ||||
-rw-r--r-- | res/layout/widgets_list_row_view.xml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/res/layout/widget_cell.xml b/res/layout/widget_cell.xml index 1286a622b..9e91f677e 100644 --- a/res/layout/widget_cell.xml +++ b/res/layout/widget_cell.xml @@ -41,7 +41,7 @@ android:layout_weight="1" android:gravity="start" android:singleLine="true" - android:ellipsize="marquee" + android:ellipsize="end" android:fadingEdge="horizontal" android:textColor="#FFFFFFFF" 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" |