From 7543d25b80aa33edcab89b16d7521a417dc1cffa Mon Sep 17 00:00:00 2001 From: mcarare Date: Tue, 20 Apr 2021 14:31:23 +0300 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/18240: Adjust preference screen to fit UX specs. --- ...reference_credit_cards_add_credit_card.xml | 40 ------------------- app/src/main/res/values/dimens.xml | 7 ---- .../main/res/xml/credit_cards_preferences.xml | 6 ++- 3 files changed, 4 insertions(+), 49 deletions(-) delete mode 100644 app/src/main/res/layout/preference_credit_cards_add_credit_card.xml diff --git a/app/src/main/res/layout/preference_credit_cards_add_credit_card.xml b/app/src/main/res/layout/preference_credit_cards_add_credit_card.xml deleted file mode 100644 index 41c8b247c0..0000000000 --- a/app/src/main/res/layout/preference_credit_cards_add_credit_card.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index e2c8297ae6..88cf1973d7 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -214,13 +214,6 @@ 8dp - - 48dp - - 16dp - 16sp 16dp 48dp diff --git a/app/src/main/res/xml/credit_cards_preferences.xml b/app/src/main/res/xml/credit_cards_preferences.xml index ea745e9929..21b58a5c22 100644 --- a/app/src/main/res/xml/credit_cards_preferences.xml +++ b/app/src/main/res/xml/credit_cards_preferences.xml @@ -14,10 +14,12 @@ android:title="@string/preferences_credit_cards_sync_cards_across_devices" app:allowDividerBelow="true" /> + app:allowDividerAbove="true" /> + android:title="@string/preferences_credit_cards_manage_saved_cards" + app:allowDividerAbove="true" />