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-05-20 22:01:26 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-05-16 07:33:09 +02:00
|
|
|
android:id="@+id/onboarding_card"
|
|
|
|
style="@style/OnboardingCardLight"
|
|
|
|
android:layout_width="match_parent"
|
2019-05-20 22:01:26 +02:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
2019-06-19 01:38:56 +02:00
|
|
|
android:importantForAccessibility="no"
|
2019-05-20 22:01:26 +02:00
|
|
|
android:id="@+id/private_browsing_icon"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintDimensionRatio="H,1:1"
|
2019-06-19 01:38:56 +02:00
|
|
|
app:srcCompat="@drawable/ic_onboarding_private_browsing"
|
2019-05-20 22:01:26 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
2019-05-16 07:33:09 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/header_text"
|
2019-05-20 22:01:26 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2019-05-16 07:33:09 +02:00
|
|
|
android:text="@string/onboarding_private_browsing_header"
|
2019-05-20 22:01:26 +02:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:lines="1"
|
|
|
|
android:textAppearance="@style/HeaderTextStyle"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/private_browsing_icon"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/private_browsing_icon"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/private_browsing_icon"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
2019-05-16 07:33:09 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/description_text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/onboarding_private_browsing_description"
|
2019-05-20 22:01:26 +02:00
|
|
|
android:textAppearance="@style/Body14TextStyle"
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/private_browsing_icon"
|
|
|
|
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>
|