diff options
author | cretin45 <cretin45@gmail.com> | 2015-12-10 15:39:19 -0800 |
---|---|---|
committer | Tom Powell <zifnab@zifnab06.net> | 2017-03-26 15:52:42 -0700 |
commit | d70912bc43e81c9cbd5cc7259ab438818ddd6b1e (patch) | |
tree | fe10eed6fb173f50c946f331a5c1c7cf018b7796 /res | |
parent | bdd001df8de0e4b2134e7ba6626053549141d566 (diff) | |
download | android_packages_apps_Trebuchet-d70912bc43e81c9cbd5cc7259ab438818ddd6b1e.tar.gz android_packages_apps_Trebuchet-d70912bc43e81c9cbd5cc7259ab438818ddd6b1e.tar.bz2 android_packages_apps_Trebuchet-d70912bc43e81c9cbd5cc7259ab438818ddd6b1e.zip |
Trebuchet: Add scrubber to widget view
Change-Id: I68711e95ed31a962b47e995e979e32de37570b44
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/widgets_view.xml | 40 |
1 files changed, 24 insertions, 16 deletions
diff --git a/res/layout/widgets_view.xml b/res/layout/widgets_view.xml index 1f276adb9..5d9702158 100644 --- a/res/layout/widgets_view.xml +++ b/res/layout/widgets_view.xml @@ -21,8 +21,7 @@ android:id="@+id/widgets_view" android:layout_width="match_parent" android:layout_height="match_parent" - android:orientation="vertical" - android:descendantFocusability="afterDescendants"> + android:orientation="vertical"> <FrameLayout android:id="@+id/content" @@ -37,24 +36,33 @@ android:elevation="2dp" android:visibility="invisible" /> - <!-- DO NOT CHANGE THE ID --> - <com.android.launcher3.widget.WidgetsRecyclerView - android:id="@+id/widgets_list_view" - android:theme="@style/Theme.Dark.CustomOverscroll" + <FrameLayout android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_gravity="center" android:elevation="15dp" - android:visibility="gone" /> + android:focusable="true" + android:focusableInTouchMode="true"> - <ViewStub - android:id="@+id/scrubber_container_stub" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:inflatedId="@+id/scrubber_container" - android:layout="@layout/scrubber_container" - android:layout_gravity="bottom" - android:clipToPadding="false"/> + <!-- DO NOT CHANGE THE ID --> + <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" + android:layout_gravity="center" + android:visibility="gone" + android:descendantFocusability="afterDescendants"/> + + <ViewStub + android:id="@+id/scrubber_container_stub" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:inflatedId="@+id/scrubber_container" + android:layout="@layout/scrubber_container" + android:layout_gravity="bottom" + android:clipToPadding="false"/> + + </FrameLayout> </FrameLayout> </com.android.launcher3.widget.WidgetsContainerView>
\ No newline at end of file |