Commit 03726384 authored by Mihai Branescu's avatar Mihai Branescu
Browse files

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

parent 048d22db
......@@ -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>
......@@ -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>
......@@ -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" />
......
......@@ -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" />
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment