From 43ebe6806323902ef61ee513468bbca507e0d20e 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 --- 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 2468db62bd1..59d59804641 100755 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -456,4 +456,8 @@ 5dp 1dp 2dp + + + 24dp + 8dp diff --git a/res/values/styles.xml b/res/values/styles.xml index 395a3bc5700..21581cb3a3b 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -931,6 +931,7 @@