summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndy Wickham <awickham@google.com>2022-06-07 19:06:08 -0700
committerAndy Wickham <awickham@google.com>2022-06-08 13:32:41 -0700
commit5a476da75c9c5d6b4cf069977ee8abb2ee0b8866 (patch)
tree7f7bb441319f656cfc0eb8b6975084c24e08ca95 /res
parentd4a79eb99b9e98f901e1b4e244d7bfcc2b9d1c09 (diff)
downloadLauncher3-5a476da75c9c5d6b4cf069977ee8abb2ee0b8866.tar.gz
Fixes Search bar padding when work profile not present.
The full padding was accounted for between the search bar and the work/personal tabs, but only part of it was there when the tabs were not shown. Screenshot: https://screenshot.googleplex.com/8axV9QQ5Qy8MaUn.png Test: Manually with and without work profile added. In the latter case, nothing changed. The screenshot reflects the former case. Fix: 233010483 Change-Id: I11b3c8cc814be48c25cbd9f454c3e122fff96fa0
Diffstat (limited to 'res')
-rw-r--r--res/layout/all_apps_fast_scroller.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/layout/all_apps_fast_scroller.xml b/res/layout/all_apps_fast_scroller.xml
index f6a61569ee..0f1d9330a6 100644
--- a/res/layout/all_apps_fast_scroller.xml
+++ b/res/layout/all_apps_fast_scroller.xml
@@ -22,6 +22,7 @@
style="@style/FastScrollerPopup"
android:layout_alignParentEnd="true"
android:layout_alignTop="@+id/all_apps_header"
+ android:layout_marginTop="@dimen/all_apps_header_bottom_padding"
android:layout_marginEnd="@dimen/fastscroll_popup_margin" />
<com.android.launcher3.views.RecyclerViewFastScroller
@@ -31,6 +32,7 @@
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="true"
android:layout_alignTop="@+id/all_apps_header"
+ android:layout_marginTop="@dimen/all_apps_header_bottom_padding"
android:layout_marginEnd="@dimen/fastscroll_end_margin"
launcher:canThumbDetach="true" />