From 2042dac123317d51ab449dab5baae7f830de5bb2 Mon Sep 17 00:00:00 2001 From: Tsung-Mao Fang Date: Wed, 5 May 2021 23:31:19 +0800 Subject: [PATCH] Fix loading ring overlapping problem By design, the loading ring is in the middle of the recycler view. In the Android S, recyclerview isn't matched the screen's height. So, if the recyclerview doesn't contains any item, the height could be very low and then it causes to overlaps with drop down view. The simple solution is to fix height of view of progress bar, so it won't rely on the height of recycler view anymore. Fix: 184643347 Test: Go to app notification page, and no overlapping problem. Change-Id: I9f4fddba0254ac0cb0ba0b128a7dcc2de05d1fce --- res/layout/loading_container.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/layout/loading_container.xml b/res/layout/loading_container.xml index eb67044a380..80cbbf9ac9a 100644 --- a/res/layout/loading_container.xml +++ b/res/layout/loading_container.xml @@ -18,7 +18,7 @@ android:id="@+id/loading_container" android:orientation="vertical" android:layout_width="match_parent" - android:layout_height="match_parent" + android:layout_height="450dp" android:visibility="gone" android:gravity="center">