diff options
author | Kevin <kevhan@google.com> | 2019-04-26 11:32:31 -0700 |
---|---|---|
committer | Kevin <kevhan@google.com> | 2019-04-29 16:06:32 -0700 |
commit | 0448ab6d7ddf25bdd615dc717933d5c8a364b1b2 (patch) | |
tree | 22c1b17d84018ff18e44203f60a448cbd19b6357 /go/quickstep/res | |
parent | dd165d2d7cac289df4de379cc8bad98d60773cc0 (diff) | |
download | android_packages_apps_Trebuchet-0448ab6d7ddf25bdd615dc717933d5c8a364b1b2.tar.gz android_packages_apps_Trebuchet-0448ab6d7ddf25bdd615dc717933d5c8a364b1b2.tar.bz2 android_packages_apps_Trebuchet-0448ab6d7ddf25bdd615dc717933d5c8a364b1b2.zip |
Don't clip recents items with system bars
In order for items to go under the system bars, we have the recents view
consume the insets by setting padding to the recyclerview instead of
setting the margins with it. Then, we ensure the recycler view does not
clip to padding so that items are still visible even when scrolled past.
Bug: 131626311
Test: Manual test; items go under system bars
Change-Id: Iecbab537b8f9e2993ad5f74f87ba2e0c56fb0f63
Diffstat (limited to 'go/quickstep/res')
-rw-r--r-- | go/quickstep/res/layout/icon_recents_root_view.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/go/quickstep/res/layout/icon_recents_root_view.xml b/go/quickstep/res/layout/icon_recents_root_view.xml index ea6fbc2ef..b64b7fdad 100644 --- a/go/quickstep/res/layout/icon_recents_root_view.xml +++ b/go/quickstep/res/layout/icon_recents_root_view.xml @@ -24,7 +24,8 @@ android:layout_width="@dimen/recents_list_width" android:layout_height="match_parent" android:layout_gravity="center_horizontal" - android:scrollbars="none"/> + android:scrollbars="none" + android:clipToPadding="false"/> <TextView android:id="@+id/recent_task_empty_view" android:layout_width="match_parent" |