From e8efd38e9a27f3cb3de55e59dffc234a2660381d Mon Sep 17 00:00:00 2001 From: Brandon Dayauon Date: Fri, 18 Aug 2023 14:54:41 -0700 Subject: [PATCH] Fix work paused text padding. This is causing an issue for keyboard up by default users who can't see the button due to the keyboard blocking it. The reason this is happening is because there is a layoutMargin of 40dp that is on the work_apps_paused_title text. But it should be 16dp from the tabs and the and work_apps_paused_title text. Due to the floatingHeaderView having 8dp already, just add another 8dp padding to the workPausedCard for the 16dp distance between the tabs and the text. bug: 294948106 flag: n/a test: manual -photos: before:https://screenshot.googleplex.com/8awNqhWLkW3mF2w after: https://screenshot.googleplex.com/8qUJAwH5Qzd6d3L Change-Id: I4468e2fec6f05919323e27b1c4296d0239b2d044 --- res/layout/work_apps_paused.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/res/layout/work_apps_paused.xml b/res/layout/work_apps_paused.xml index 52c5a492c5..695270e704 100644 --- a/res/layout/work_apps_paused.xml +++ b/res/layout/work_apps_paused.xml @@ -15,7 +15,7 @@ @@ -25,7 +25,6 @@ android:id="@+id/work_apps_paused_title" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="40dp" android:text="@string/work_apps_paused_title" android:textAlignment="center" android:textSize="18sp" />