From b0548113d27f2d13c0b52b286f47ec1974bdeb48 Mon Sep 17 00:00:00 2001 From: Mill Chen Date: Thu, 11 Mar 2021 16:44:48 +0800 Subject: [PATCH] Fix no apps text overlapping with filter bar Since Settings UI has been changed and the filter bar will be staying in a fixed place, the "no apps" text will be overlapped with filter bar. To make the text seperate from filter bar, the string will be put in the bottom of text view. Fixes: 182173848 Test: visual verified 1) Settings -> Notifications -> See all from last 7 days -> select Turned off on filter bar 2) Observe and see if the "no apps" is overlapping with filter bar Change-Id: Ib99bb5122fb72f05a2404b8f61b025a46d6d53dd --- res/layout/manage_applications_apps_v2.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/layout/manage_applications_apps_v2.xml b/res/layout/manage_applications_apps_v2.xml index ecc764a9217..72c8ee8f3cb 100644 --- a/res/layout/manage_applications_apps_v2.xml +++ b/res/layout/manage_applications_apps_v2.xml @@ -48,7 +48,7 @@ android:id="@android:id/empty" android:layout_width="match_parent" android:layout_height="match_parent" - android:gravity="center" + android:gravity="bottom|center_horizontal" android:layout_gravity="center" android:text="@string/no_applications" android:textAppearance="?android:attr/textAppearanceLarge"