diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-05-13 13:06:11 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-05-14 11:14:09 -0700 |
commit | 5a92b2356f1c5f79207c4e9bd47d7b0b5bcf6f78 (patch) | |
tree | 1409c3e82e1a167373d666b3b567006780b82bd4 /res/layout/widgets_view.xml | |
parent | db1360dbbbc8e94a13be52debdb5395b1be5a32f (diff) | |
download | android_packages_apps_Trebuchet-5a92b2356f1c5f79207c4e9bd47d7b0b5bcf6f78.tar.gz android_packages_apps_Trebuchet-5a92b2356f1c5f79207c4e9bd47d7b0b5bcf6f78.tar.bz2 android_packages_apps_Trebuchet-5a92b2356f1c5f79207c4e9bd47d7b0b5bcf6f78.zip |
Reodering some drawables
> quantum_panel_shape is xml rectangle with no margin
> quantum_panel_bitmap is 9-patch drawable with inbuild shadow and margin
> quantum_panel uses xml-shape for lollipop and 9-patch image for lower
devices. It includes margin. For shadow, use elevation on lollipop
> All drawables have _dark variant
> Using #f5f5f5 for panel background, instead of #ffffff
Change-Id: Ia7c6cea6d514ee3774fcf5fef6139650bdd53208
Diffstat (limited to 'res/layout/widgets_view.xml')
-rw-r--r-- | res/layout/widgets_view.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/res/layout/widgets_view.xml b/res/layout/widgets_view.xml index 5cdf56048..b91ca2618 100644 --- a/res/layout/widgets_view.xml +++ b/res/layout/widgets_view.xml @@ -30,15 +30,17 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" - android:visibility="invisible" - android:focusable="false" /> + android:elevation="15dp" + android:focusable="false" + android:visibility="invisible" /> <LinearLayout android:id="@+id/widgets_content" android:layout_width="match_parent" android:layout_height="match_parent" android:clipChildren="false" - android:orientation="vertical"> + android:elevation="15dp" + android:orientation="vertical" > <com.android.launcher3.widget.WidgetsContainerRecyclerView android:id="@+id/widgets_list_view" |