2019-05-16 05:33:09 +00: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-26 23:03:06 +00: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"
|
2020-04-28 10:54:49 +00:00
|
|
|
style="@style/OnboardingCardLightWithPadding"
|
2019-05-16 05:33:09 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-06-26 23:03:06 +00:00
|
|
|
android:layout_height="wrap_content">
|
2019-05-16 05:33:09 +00:00
|
|
|
<TextView
|
2019-06-26 23:03:06 +00:00
|
|
|
android:id="@+id/header_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/onboarding_privacy_notice_header"
|
|
|
|
tools:drawableStart="@drawable/ic_onboarding_privacy_notice"
|
|
|
|
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_toEndOf="parent" />
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/description_text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="@style/Body14TextStyle"
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
tools:text="@string/onboarding_privacy_notice_description"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/header_text"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
2020-04-15 22:49:02 +00:00
|
|
|
|
|
|
|
<Button
|
|
|
|
style="@style/NeutralOnboardingButton"
|
|
|
|
android:id="@+id/read_button"
|
|
|
|
android:text="@string/onboarding_privacy_notice_read_button"
|
2020-05-29 16:22:08 +00:00
|
|
|
android:layout_marginTop="10dp"
|
2020-04-15 22:49:02 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/description_text"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
2019-06-26 23:03:06 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|