summaryrefslogtreecommitdiffstats
path: root/res/layout/widgets_view.xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2016-02-19 09:34:09 -0800
committerSunny Goyal <sunnygoyal@google.com>2016-02-19 09:35:43 -0800
commita6194d3d9205488d6f5400193f8d4d6aaf140218 (patch)
treef59c8027b77935a05d553719de763694d850f439 /res/layout/widgets_view.xml
parentc42ac0a5a6f0a4e41a9fc1b694f841204ae1989c (diff)
downloadandroid_packages_apps_Trebuchet-a6194d3d9205488d6f5400193f8d4d6aaf140218.tar.gz
android_packages_apps_Trebuchet-a6194d3d9205488d6f5400193f8d4d6aaf140218.tar.bz2
android_packages_apps_Trebuchet-a6194d3d9205488d6f5400193f8d4d6aaf140218.zip
Wrapping thw widgetList inside a layout, so that it has the same view structure as allApps
Change-Id: I28b035beb1c7e13101ec20ff671d3cad5f757c0e
Diffstat (limited to 'res/layout/widgets_view.xml')
-rw-r--r--res/layout/widgets_view.xml17
1 files changed, 12 insertions, 5 deletions
diff --git a/res/layout/widgets_view.xml b/res/layout/widgets_view.xml
index e64f83ae1..c51ec802b 100644
--- a/res/layout/widgets_view.xml
+++ b/res/layout/widgets_view.xml
@@ -34,13 +34,20 @@
android:elevation="2dp"
android:visibility="invisible" />
- <com.android.launcher3.widget.WidgetsRecyclerView
+ <FrameLayout
android:id="@+id/main_content"
- android:theme="@style/Theme.Dark.CustomOverscroll"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
android:layout_gravity="center"
android:elevation="15dp"
- android:visibility="gone" />
+ android:visibility="gone"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <com.android.launcher3.widget.WidgetsRecyclerView
+ android:id="@+id/widgets_list_view"
+ android:theme="@style/Theme.Dark.CustomOverscroll"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+ </FrameLayout>
+
</com.android.launcher3.widget.WidgetsContainerView> \ No newline at end of file