diff options
author | Hyunyoung Song <hyunyoungs@google.com> | 2015-04-22 13:59:20 -0700 |
---|---|---|
committer | Hyunyoung Song <hyunyoungs@google.com> | 2015-04-22 13:59:20 -0700 |
commit | 475784a4ebcf3cc4816aba7faaacac7a5f826298 (patch) | |
tree | 59c2704032d1b33d132d147accdb81e3667e5523 /res/layout/widget_cell.xml | |
parent | 7e2a3608b6fa51c884e051625e10d13597cb8796 (diff) | |
download | android_packages_apps_Trebuchet-475784a4ebcf3cc4816aba7faaacac7a5f826298.tar.gz android_packages_apps_Trebuchet-475784a4ebcf3cc4816aba7faaacac7a5f826298.tar.bz2 android_packages_apps_Trebuchet-475784a4ebcf3cc4816aba7faaacac7a5f826298.zip |
Widgettray UI tweak that introduces bounding box around the widgets.
Note: waiting on more polished UX spec right now.
But until then, these padding and dimensions are what is used to get the
bounding box around the widgets.
Change-Id: I7a6a5fa04bbdb135b39291cb671b9a719fcdc4fc
Diffstat (limited to 'res/layout/widget_cell.xml')
-rw-r--r-- | res/layout/widget_cell.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/res/layout/widget_cell.xml b/res/layout/widget_cell.xml index f53b74ef8..50294c035 100644 --- a/res/layout/widget_cell.xml +++ b/res/layout/widget_cell.xml @@ -19,9 +19,11 @@ android:layout_width="@dimen/widget_preview_container_width" android:layout_height="wrap_content" android:layout_weight="1" - android:paddingTop="@dimen/widget_preview_padding_top" + android:layout_marginTop="@dimen/widget_preview_padding_top" + android:layout_marginLeft="8dp" + android:layout_marginBottom="8dp" android:orientation="vertical" - android:background="@drawable/focusable_view_bg" + android:background="@color/bubble_dark_background" android:focusable="true"> <LinearLayout @@ -61,7 +63,6 @@ android:layout_marginLeft="5dp" android:layout_weight="0" android:gravity="start" - android:textColor="#FFFFFFFF" android:textSize="12sp" android:textAlignment="viewStart" |