From 530bee333b45ecc9eb996bcf12ba2608c541ed2d Mon Sep 17 00:00:00 2001 From: Jason Chiu Date: Wed, 3 Feb 2021 17:47:26 +0800 Subject: [PATCH] Fix the scrolling problems in homepage - Remove the deprecated API and parameter usages of setting system ui visibility, which make the app bar scrolling behavior abnormal when the navigation bar is enabled. - Remove the duplicate navigationBarColor of the homepage theme since Theme.Settings has configured it. - Remove the unused scroll flags in search bar layout since its parent is no longer AppBarLayout. Test: visual, robotest Fixes: 178497625 Fixes: 179122861 Change-Id: I91537cff4f3d98e4bc31e6e42d23895df312fbd4 --- res/layout/search_bar.xml | 4 +--- res/values/themes.xml | 1 - .../android/settings/homepage/SettingsHomepageActivity.java | 4 ---- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/res/layout/search_bar.xml b/res/layout/search_bar.xml index 75b43f003d1..63f1c955b15 100644 --- a/res/layout/search_bar.xml +++ b/res/layout/search_bar.xml @@ -17,14 +17,12 @@ + android:layout_marginBottom="@dimen/search_bar_margin_bottom"> @*android:color/primary_dark_device_default_settings_light true @*android:color/ripple_material_light - @android:color/transparent