1
0
Fork 0

For #8643 and #7606 - Changed styles for most onboarding cards

master
Mihai Branescu 2020-04-28 13:54:49 +03:00
parent 048d22dbcf
commit 03726384de
8 changed files with 12 additions and 9 deletions

View File

@ -9,7 +9,7 @@
android:color="?neutralFaded" />
<gradient
android:angle="45"
android:endColor="@color/accent_high_contrast_dark_theme"
android:startColor="@color/accent_bright_dark_theme" />
android:endColor="?onboardingDarkGradientEndBackground"
android:startColor="?onboardingDarkGradientStartBackground" />
<corners android:radius="8dp" />
</shape>

View File

@ -5,6 +5,6 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke android:width="1dp" android:color="?neutralFaded" />
<solid android:color="?inset" />
<solid android:color="?above" />
<corners android:radius="8dp" />
</shape>

View File

@ -17,7 +17,7 @@
<stroke
android:width="1dp"
android:color="?neutralFaded" />
<solid android:color="?inset" />
<solid android:color="?above" />
<corners
android:bottomLeftRadius="@dimen/tab_corner_radius"
android:bottomRightRadius="@dimen/tab_corner_radius" />

View File

@ -3,7 +3,7 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<Button xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/PositiveButton"
style="@style/FinishOnboardingButton"
android:id="@+id/finish_button"
android:layout_marginBottom="16dp"
android:text="@string/onboarding_finish" />

View File

@ -7,7 +7,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/onboarding_card"
style="@style/OnboardingCardLight"
style="@style/OnboardingCardLightWithPadding"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView

View File

@ -7,7 +7,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/onboarding_card"
style="@style/OnboardingCardLight"
style="@style/OnboardingCardLightWithPadding"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView

View File

@ -5,7 +5,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/onboarding_card"
style="@style/OnboardingCardLight"
style="@style/OnboardingCardLightWithPadding"
android:layout_width="match_parent"
android:layout_height="wrap_content">
@ -29,6 +29,7 @@
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="@id/header_text"
app:layout_constraintEnd_toEndOf="parent"
android:theme="@style/Switch.Colored"
app:layout_constraintTop_toTopOf="@id/header_text" />
<TextView
@ -63,6 +64,7 @@
android:paddingEnd="8dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/description_text"
android:buttonTint="@color/onboarding_radio_button_color"
app:onboardingKey="@string/pref_key_tracking_protection_standard_option" />
<TextView
@ -109,6 +111,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tracking_protection_standard_option"
android:buttonTint="@color/onboarding_radio_button_color"
app:onboardingKey="@string/pref_key_tracking_protection_strict_default" />
<TextView

View File

@ -7,7 +7,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/onboarding_card"
style="@style/OnboardingCardLight"
style="@style/OnboardingCardLightWithPadding"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView