From e4da145a51cfbd4a0403156540724392129faae5 Mon Sep 17 00:00:00 2001 From: Jeff Boek Date: Mon, 20 May 2019 16:50:05 -0700 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/2395 - Adds sign into sync card --- .../ic_onboarding_firefox_accounts.xml | 38 +++++++++++++++++++ .../onboarding_card_background_dark.xml | 10 +++++ .../onboarding_card_background_light.xml | 2 +- ...boarding_rounded_bottom_corners_ripple.xml | 2 +- .../res/layout/onboarding_firefox_account.xml | 30 ++++++++++++++- app/src/main/res/values/colors.xml | 4 ++ app/src/main/res/values/static_strings.xml | 7 +++- app/src/main/res/values/strings.xml | 1 - app/src/main/res/values/styles.xml | 4 ++ 9 files changed, 92 insertions(+), 6 deletions(-) create mode 100644 app/src/main/res/drawable/ic_onboarding_firefox_accounts.xml create mode 100644 app/src/main/res/drawable/onboarding_card_background_dark.xml diff --git a/app/src/main/res/drawable/ic_onboarding_firefox_accounts.xml b/app/src/main/res/drawable/ic_onboarding_firefox_accounts.xml new file mode 100644 index 0000000000..14ccf67a08 --- /dev/null +++ b/app/src/main/res/drawable/ic_onboarding_firefox_accounts.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/onboarding_card_background_dark.xml b/app/src/main/res/drawable/onboarding_card_background_dark.xml new file mode 100644 index 0000000000..3d0b8fe707 --- /dev/null +++ b/app/src/main/res/drawable/onboarding_card_background_dark.xml @@ -0,0 +1,10 @@ + + + + + + + diff --git a/app/src/main/res/drawable/onboarding_card_background_light.xml b/app/src/main/res/drawable/onboarding_card_background_light.xml index fc80efc8ad..80b7bf978d 100644 --- a/app/src/main/res/drawable/onboarding_card_background_light.xml +++ b/app/src/main/res/drawable/onboarding_card_background_light.xml @@ -4,7 +4,7 @@ - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - + diff --git a/app/src/main/res/drawable/onboarding_rounded_bottom_corners_ripple.xml b/app/src/main/res/drawable/onboarding_rounded_bottom_corners_ripple.xml index 1744473a8f..9d7f6a4661 100644 --- a/app/src/main/res/drawable/onboarding_rounded_bottom_corners_ripple.xml +++ b/app/src/main/res/drawable/onboarding_rounded_bottom_corners_ripple.xml @@ -16,7 +16,7 @@ + android:color="?neutralFaded" /> + android:textAppearance="@style/Header16TextStyle" + android:textColor="@color/onboarding_card_primary_text_dark"/> + + + \ No newline at end of file diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 3817823c79..c45ced205e 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -136,4 +136,8 @@ @color/primary_text_light_theme + + #20123A + #3FE1B0 + #312A65 diff --git a/app/src/main/res/values/static_strings.xml b/app/src/main/res/values/static_strings.xml index f803df31c6..c4a4077f73 100644 --- a/app/src/main/res/values/static_strings.xml +++ b/app/src/main/res/values/static_strings.xml @@ -33,7 +33,9 @@ Save some battery and your eyesight by enabling dark mode. - Get the most out of %s + Get the most out of %s. + + Sign in to Firefox Protect yourself + Read our privacy notice + Start browsing diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ec6f84e89e..b03bf1ea2d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -496,5 +496,4 @@ The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. Make text on websites larger or smaller Font Size - Read our privacy notice diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index ae5e414e2a..9f36cc663d 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -243,4 +243,8 @@ 16dp 16dp + +