2019-05-16 07:33:09 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- 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/. -->
|
2019-06-27 01:03:06 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/onboarding_card"
|
|
|
|
style="@style/OnboardingCardLight"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2019-05-16 07:33:09 +02:00
|
|
|
<TextView
|
2019-06-27 01:03:06 +02:00
|
|
|
android:id="@+id/header_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/onboarding_tracking_protection_header"
|
|
|
|
tools:drawableStart="@drawable/ic_onboarding_tracking_protection"
|
|
|
|
android:drawablePadding="12dp"
|
|
|
|
android:textAppearance="@style/HeaderTextStyle"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:lines="1"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/tracking_protection_toggle" />
|
2019-05-21 01:17:14 +02:00
|
|
|
<Switch
|
2019-06-27 01:03:06 +02:00
|
|
|
android:id="@+id/tracking_protection_toggle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/header_text"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/header_text"/>
|
2019-05-16 07:33:09 +02:00
|
|
|
<TextView
|
2019-06-27 01:03:06 +02:00
|
|
|
android:id="@+id/description_text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="@style/Body14TextStyle"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
tools:text="@string/onboarding_tracking_protection_description"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/header_text"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
2019-06-19 01:38:56 +02:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|