diff options
author | Hyunyoung Song <hyunyoungs@google.com> | 2015-04-27 17:01:32 -0700 |
---|---|---|
committer | Hyunyoung Song <hyunyoungs@google.com> | 2015-04-27 17:01:32 -0700 |
commit | f17a1c9ad99d46a65de797422fd439382114b348 (patch) | |
tree | 9a529ce9ed53d39adad050c2a1aff2a61586f756 /res/layout/widget_cell.xml | |
parent | f782fb52581988fb44e9126852221eb260d158a9 (diff) | |
download | android_packages_apps_Trebuchet-f17a1c9ad99d46a65de797422fd439382114b348.tar.gz android_packages_apps_Trebuchet-f17a1c9ad99d46a65de797422fd439382114b348.tar.bz2 android_packages_apps_Trebuchet-f17a1c9ad99d46a65de797422fd439382114b348.zip |
Widget tray alignment according to UX spec
- Fixing an issue where widget preview is not loaded do to faulty
canceling of loading async task when view is detached from the window.
b/20338334
Change-Id: I1e3bd6b6cdafda8d1e0a7a0e87c8089100c341a7
Diffstat (limited to 'res/layout/widget_cell.xml')
-rw-r--r-- | res/layout/widget_cell.xml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/res/layout/widget_cell.xml b/res/layout/widget_cell.xml index 64ddea1ae..cb1c812cb 100644 --- a/res/layout/widget_cell.xml +++ b/res/layout/widget_cell.xml @@ -17,13 +17,11 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:launcher="http://schemas.android.com/apk/res-auto" android:layout_width="@dimen/widget_preview_container_width" - android:layout_height="wrap_content" + android:layout_height="@dimen/widget_cell_height" android:layout_weight="1" - android:layout_marginTop="@dimen/widget_preview_padding_top" - android:layout_marginLeft="8dp" - android:layout_marginBottom="8dp" + android:layout_marginRight="@dimen/widget_row_divider" android:orientation="vertical" - android:background="@color/bubble_dark_background" + android:background="@color/widgets_cell_color" android:focusable="true"> <LinearLayout |