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:
@@ -17,14 +17,12 @@
|
||||
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/search_bar_margin"
|
||||
android:layout_marginStart="@dimen/search_bar_margin"
|
||||
android:layout_marginEnd="@dimen/search_bar_margin"
|
||||
android:layout_marginBottom="@dimen/search_bar_margin_bottom"
|
||||
app:layout_scrollFlags="scroll|enterAlways">
|
||||
android:layout_marginBottom="@dimen/search_bar_margin_bottom">
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
android:id="@+id/search_bar"
|
||||
|
||||
Reference in New Issue
Block a user