From 9756bfc074d28851b40d966faf5b96da869aaaeb Mon Sep 17 00:00:00 2001
From: Joshua McCloskey <joshmccloskey@google.com>
Date: Tue, 14 May 2024 20:25:59 +0000
Subject: [PATCH] Fixed side fps notification for large text

Test: Manually verified content no longer overflows on various font
sizes (1, 1.1, 1.2, 1.6, 1.9, 2, 3)
Test: adb shell settings put system font_scale (1, 1.1, 1.2, 1.6, 1.9, 2, 3)
Fixes: 315424526

Change-Id: Ia2b3d2d9807dd351f1cf6321fa43a5a0cdee6742
---
 core/res/res/layout/side_fps_toast.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/res/res/layout/side_fps_toast.xml b/core/res/res/layout/side_fps_toast.xml
index 2c35c9b888cf..78299ab0ea99 100644
--- a/core/res/res/layout/side_fps_toast.xml
+++ b/core/res/res/layout/side_fps_toast.xml
@@ -25,6 +25,7 @@
         android:layout_height="wrap_content"
         android:layout_width="0dp"
         android:layout_weight="6"
+        android:paddingBottom="10dp"
         android:text="@string/fp_power_button_enrollment_title"
         android:textColor="@color/side_fps_text_color"
         android:paddingLeft="20dp"/>
@@ -36,6 +37,7 @@
         android:layout_height="wrap_content"
         android:layout_width="0dp"
         android:layout_weight="3"
+        android:paddingBottom="10dp"
         android:text="@string/fp_power_button_enrollment_button_text"
         style="?android:attr/buttonBarNegativeButtonStyle"
         android:textColor="@color/side_fps_button_color"
-- 
GitLab