From c5b4715e7eabbaec62c9849f30280252544d9a69 Mon Sep 17 00:00:00 2001 From: yyalan Date: Tue, 24 Jan 2023 08:39:14 +0000 Subject: [PATCH] [Partial Screensharing] Option text is cropped with max font size Set the TextView to wrap_content Before https://screenshot.googleplex.com/afFZ4vzuho2Q9US.png After https://screenshot.googleplex.com/6TASZXVnbHbSDNB.png Bug: 265002125 Test: manual Change-Id: I18d6ec9ed66e6ef91099fddb8b18ad18c99641dc --- .../SystemUI/res/layout/screen_record_dialog_audio_source.xml | 2 +- .../res/layout/screen_record_dialog_audio_source_selected.xml | 4 ++-- packages/SystemUI/res/layout/screen_record_options.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/SystemUI/res/layout/screen_record_dialog_audio_source.xml b/packages/SystemUI/res/layout/screen_record_dialog_audio_source.xml index 2567176b2557d..130472d675007 100644 --- a/packages/SystemUI/res/layout/screen_record_dialog_audio_source.xml +++ b/packages/SystemUI/res/layout/screen_record_dialog_audio_source.xml @@ -23,7 +23,7 @@ \ No newline at end of file diff --git a/packages/SystemUI/res/layout/screen_record_options.xml b/packages/SystemUI/res/layout/screen_record_options.xml index 3f0eea9004a68..6cc72ddca42af 100644 --- a/packages/SystemUI/res/layout/screen_record_options.xml +++ b/packages/SystemUI/res/layout/screen_record_options.xml @@ -67,7 +67,7 @@ android:importantForAccessibility="no"/>