diff options
| author | 2023-07-03 12:10:49 +0100 | |
|---|---|---|
| committer | 2023-07-05 08:39:27 +0000 | |
| commit | 41cdfb329a59b46b1b7d4de9e7957f8a24f2ec12 (patch) | |
| tree | a04c5d58266443302917278f43c1f2106f9c9abb | |
| parent | e2663930518bf15f70c303cf55626faadc98db35 (diff) | |
Partial Screen Sharing: Fix truncated "Show touches" text
In some languages, the text was getting truncated. This was because the
text was not properly positioned inside of its parent.
Fixes: 289488931
Test: Manual - See screenshots on bug.
Change-Id: I50d21f7c6e2de9a2bb392d14028c6476fe2c4db8
| -rw-r--r-- | packages/SystemUI/res/layout/screen_record_options.xml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/SystemUI/res/layout/screen_record_options.xml b/packages/SystemUI/res/layout/screen_record_options.xml index 6cc72ddca42a..d9f4b7961636 100644 --- a/packages/SystemUI/res/layout/screen_record_options.xml +++ b/packages/SystemUI/res/layout/screen_record_options.xml @@ -55,14 +55,13 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" + android:gravity="center_vertical" android:layout_marginTop="@dimen/screenrecord_option_padding"> <ImageView android:layout_width="@dimen/screenrecord_option_icon_size" android:layout_height="@dimen/screenrecord_option_icon_size" - android:layout_weight="0" android:src="@drawable/ic_touch" android:tint="?android:attr/textColorSecondary" - android:layout_gravity="center_vertical" android:layout_marginRight="@dimen/screenrecord_option_padding" android:importantForAccessibility="no"/> <TextView @@ -70,7 +69,6 @@ android:layout_height="wrap_content" android:minHeight="48dp" android:layout_weight="1" - android:gravity="center_vertical" android:text="@string/screenrecord_taps_label" android:textAppearance="?android:attr/textAppearanceMedium" android:fontFamily="@*android:string/config_bodyFontFamily" @@ -80,7 +78,6 @@ android:layout_width="wrap_content" android:minWidth="48dp" android:layout_height="48dp" - android:layout_weight="0" android:id="@+id/screenrecord_taps_switch" style="@style/ScreenRecord.Switch" android:importantForAccessibility="yes"/> |