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
This commit is contained in:
Jason Chiu
2021-02-03 17:47:26 +08:00
parent 595a2506ad
commit 530bee333b
3 changed files with 1 additions and 8 deletions

View File

@@ -221,7 +221,6 @@
<item name="colorPrimaryDark">@*android:color/primary_dark_device_default_settings_light</item>
<item name="android:windowLightStatusBar">true</item>
<item name="android:navigationBarDividerColor">@*android:color/ripple_material_light</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
</style>
<style name="Theme.Settings.ContextualCard" parent="Theme.Settings.Home">