From f1c8ef25f9e0f8ccfffd67fa3c57a79288dd1d4f Mon Sep 17 00:00:00 2001 From: mediatek Date: Tue, 16 Nov 2021 19:38:36 +0800 Subject: [PATCH] Fix the problem that volume 100 was showed as 10 on TV. Volume number is limited to 2 characters when it's changed to 100% it only shows 10. Bug: 203751346 Test: Change to 100% see "100" Change-Id: Ie9c36270d476c1f3cd33b88e087ed50c5a354262 --- .../SystemUI/res/layout-land-television/volume_dialog_row.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/res/layout-land-television/volume_dialog_row.xml b/packages/SystemUI/res/layout-land-television/volume_dialog_row.xml index 0dec981bd4ae7..991dc63ef8304 100644 --- a/packages/SystemUI/res/layout-land-television/volume_dialog_row.xml +++ b/packages/SystemUI/res/layout-land-television/volume_dialog_row.xml @@ -35,7 +35,7 @@ android:id="@+id/volume_number" android:layout_width="@dimen/tv_volume_dialog_bubble_size" android:layout_height="@dimen/tv_volume_dialog_bubble_size" - android:maxLength="2" + android:maxLength="3" android:gravity="center" android:fontFeatureSettings="tnum" android:background="@drawable/tv_volume_dialog_circle"