From 964c7d5eaf6819d56bb06d39abb05d38a3d436d1 Mon Sep 17 00:00:00 2001 From: SongFerngWang Date: Tue, 28 Dec 2021 21:52:24 +0800 Subject: [PATCH] Refine the mobile data selection UI -Adding the margin for bottom at dialog -Modify the text color of summay in the list at dialog when device is dark mode. Bug: 212396431 Test: build pass and check the dialog UI. Change-Id: I1ec587fd9d64ad67bbf3479c7931c0a901f572cf Merged-In: I1ec587fd9d64ad67bbf3479c7931c0a901f572cf --- res/layout/select_account_list_item.xml | 1 - res/values-night/styles.xml | 2 +- res/values/dimens.xml | 4 ++++ res/values/styles.xml | 1 + .../android/settings/sim/SimListDialogFragment.java | 10 ++++++++++ 5 files changed, 16 insertions(+), 2 deletions(-) diff --git a/res/layout/select_account_list_item.xml b/res/layout/select_account_list_item.xml index 716adff824d..2f71338448d 100644 --- a/res/layout/select_account_list_item.xml +++ b/res/layout/select_account_list_item.xml @@ -36,6 +36,5 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/title" - android:textColor="?android:attr/textColorSecondary" android:layout_alignStart="@id/title" /> diff --git a/res/values-night/styles.xml b/res/values-night/styles.xml index a388855e8d7..f69c952e5d3 100644 --- a/res/values-night/styles.xml +++ b/res/values-night/styles.xml @@ -28,6 +28,6 @@ \ No newline at end of file diff --git a/res/values/dimens.xml b/res/values/dimens.xml index f225150812c..8b735859f2c 100755 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -440,4 +440,8 @@ 5dp 1dp 2dp + + + 24dp + 8dp diff --git a/res/values/styles.xml b/res/values/styles.xml index afa13a1b76f..838d63b1879 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -919,6 +919,7 @@