diff --git a/res/layout/settings_homepage_container_a12.xml b/res/layout/settings_homepage_container_a12.xml index 2b73dbbf66b..4929844de7e 100644 --- a/res/layout/settings_homepage_container_a12.xml +++ b/res/layout/settings_homepage_container_a12.xml @@ -33,8 +33,7 @@ android:id="@+id/homepage_container" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="vertical" - android:background="@color/homepage_container_bg"> + android:orientation="vertical"> + android:animateLayoutChanges="true"/> { + view.setPadding(0, appBarLayout.getMeasuredHeight(), 0, 0); + }); + + // Prevent inner RecyclerView gets focus and invokes scrolling. + view.setFocusableInTouchMode(true); + view.requestFocus(); + } + private Drawable getCircularUserIcon(Context context) { Bitmap bitmapUserIcon = mUserManager.getUserIcon(UserHandle.myUserId());