From e7b52fd3687886bfd5a5ba5c1b6670c282fc2f98 Mon Sep 17 00:00:00 2001 From: Ankita Vyas Date: Fri, 10 Feb 2023 06:19:21 +0000 Subject: [PATCH] Fix gap issue between animation and app list in recycler view while scrolling. Bug: 266539240 Test: manual Change-Id: Ia9f40dec6f4c42f1a813d6c334aaebedab40656b --- res/layout/preference_app_header_animation.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/layout/preference_app_header_animation.xml b/res/layout/preference_app_header_animation.xml index 330d118c4e2..ac09f283293 100644 --- a/res/layout/preference_app_header_animation.xml +++ b/res/layout/preference_app_header_animation.xml @@ -18,7 +18,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical" android:layout_width="match_parent" - android:layout_height="match_parent" + android:layout_height="wrap_content" android:paddingStart="?android:attr/listPreferredItemPaddingStart" android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" android:paddingBottom="16dp"