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"
|
|
|
|
style="@style/OnboardingCardLight"
|
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" />
|
2019-05-20 20:18:01 +00:00
|
|
|
<FrameLayout
|
2019-06-26 23:03:06 +00:00
|
|
|
android:id="@+id/read_button"
|
|
|
|
android:layout_width="match_parent"
|
2019-05-20 20:18:01 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-06-26 23:03:06 +00:00
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:background="@drawable/button_background"
|
|
|
|
android:backgroundTint="?neutralFaded"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
|
|
android:padding="10dp"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/description_text"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:clickable="false"
|
|
|
|
android:focusable="false"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/onboarding_privacy_notice_read_button"
|
|
|
|
android:textColor="?primaryText"
|
2019-12-06 00:34:07 +00:00
|
|
|
android:textSize="14sp"
|
|
|
|
app:fontFamily="@font/metropolis_regular" />
|
2019-05-20 20:18:01 +00:00
|
|
|
</FrameLayout>
|
2019-06-26 23:03:06 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|