|
|
@ -7,7 +7,9 @@
|
|
|
|
android:id="@+id/onboarding_card"
|
|
|
|
android:id="@+id/onboarding_card"
|
|
|
|
style="@style/OnboardingCardLightWithPadding"
|
|
|
|
style="@style/OnboardingCardLightWithPadding"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:clipChildren="false"
|
|
|
|
|
|
|
|
android:clipToPadding="false">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/header_text"
|
|
|
|
android:id="@+id/header_text"
|
|
|
@ -44,97 +46,48 @@
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/header_text"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/header_text"
|
|
|
|
tools:text="@string/onboarding_tracking_protection_description_2" />
|
|
|
|
tools:text="@string/onboarding_tracking_protection_description_2" />
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
|
|
|
android:id="@+id/clickable_region_standard"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
|
|
|
android:foreground="@drawable/rounded_ripple"
|
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/protection_standard_description"
|
|
|
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/tracking_protection_standard_option" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<org.mozilla.fenix.onboarding.OnboardingRadioButton
|
|
|
|
<org.mozilla.fenix.onboarding.OnboardingRadioButton
|
|
|
|
android:id="@+id/tracking_protection_standard_option"
|
|
|
|
android:id="@+id/tracking_protection_standard_option"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:paddingStart="0dp"
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
|
|
|
android:checked="true"
|
|
|
|
android:checked="true"
|
|
|
|
|
|
|
|
android:foreground="@drawable/rounded_ripple"
|
|
|
|
|
|
|
|
android:gravity="top"
|
|
|
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:theme="@style/Checkable.Colored"
|
|
|
|
android:theme="@style/Checkable.Colored"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/description_text"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/description_text"
|
|
|
|
app:onboardingKey="@string/pref_key_tracking_protection_standard_option" />
|
|
|
|
app:onboardingKey="@string/pref_key_tracking_protection_standard_option"
|
|
|
|
|
|
|
|
app:onboardingKeyDescription="@string/onboarding_tracking_protection_standard_button_description_2"
|
|
|
|
<TextView
|
|
|
|
app:onboardingKeyTitle="@string/onboarding_tracking_protection_standard_button_2"
|
|
|
|
android:id="@+id/protection_standard_title"
|
|
|
|
tools:text="Standard" />
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:text="@string/onboarding_tracking_protection_standard_button_2"
|
|
|
|
|
|
|
|
android:textColor="@color/primary_state_list_text_color"
|
|
|
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/tracking_protection_standard_option"
|
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/tracking_protection_standard_option" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:id="@+id/protection_standard_description"
|
|
|
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:text="@string/onboarding_tracking_protection_standard_button_description_2"
|
|
|
|
|
|
|
|
android:textColor="@color/secondary_state_list_text_color"
|
|
|
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/protection_standard_title"
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/protection_standard_title" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
|
|
|
android:id="@+id/clickable_region_strict"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
|
|
|
android:foreground="@drawable/rounded_ripple"
|
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/protection_strict_description"
|
|
|
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/tracking_protection_strict_default" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<org.mozilla.fenix.onboarding.OnboardingRadioButton
|
|
|
|
<org.mozilla.fenix.onboarding.OnboardingRadioButton
|
|
|
|
android:id="@+id/tracking_protection_strict_default"
|
|
|
|
android:id="@+id/tracking_protection_strict_default"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
android:checked="false"
|
|
|
|
android:checked="false"
|
|
|
|
android:paddingStart="0dp"
|
|
|
|
android:foreground="@drawable/rounded_ripple"
|
|
|
|
|
|
|
|
android:gravity="top"
|
|
|
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
|
|
|
android:textColor="@color/primary_state_list_text_color"
|
|
|
|
android:theme="@style/Checkable.Colored"
|
|
|
|
android:theme="@style/Checkable.Colored"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tracking_protection_standard_option"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tracking_protection_standard_option"
|
|
|
|
app:onboardingKey="@string/pref_key_tracking_protection_strict_default" />
|
|
|
|
app:onboardingKey="@string/pref_key_tracking_protection_strict_default"
|
|
|
|
|
|
|
|
app:onboardingKeyDescription="@string/onboarding_tracking_protection_strict_button_description_2"
|
|
|
|
<TextView
|
|
|
|
app:onboardingKeyTitle="@string/onboarding_tracking_protection_strict_option"
|
|
|
|
android:id="@+id/protection_strict_title"
|
|
|
|
tools:text="Strict" />
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:text="@string/onboarding_tracking_protection_strict_option"
|
|
|
|
|
|
|
|
android:textColor="@color/primary_state_list_text_color"
|
|
|
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/tracking_protection_strict_default"
|
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/tracking_protection_strict_default" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:id="@+id/protection_strict_description"
|
|
|
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:text="@string/onboarding_tracking_protection_strict_button_description_2"
|
|
|
|
|
|
|
|
android:textColor="@color/secondary_state_list_text_color"
|
|
|
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/protection_strict_title"
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/protection_strict_title" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|