|
|
|
@ -3,47 +3,53 @@
|
|
|
|
|
- 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/. -->
|
|
|
|
|
<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/OnboardingCardLightWithPadding"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
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"
|
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="10dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/header_text"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/onboarding_whats_new_header1"
|
|
|
|
|
tools:drawableStart="@drawable/ic_whats_new"
|
|
|
|
|
android:drawablePadding="12dp"
|
|
|
|
|
android:textAppearance="@style/HeaderTextStyle"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
|
android:id="@+id/header_text"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:drawablePadding="12dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:text="@string/onboarding_whats_new_header1"
|
|
|
|
|
android:textAppearance="@style/HeaderTextStyle"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
tools:drawableStart="@drawable/ic_whats_new" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
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_whats_new_description"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/header_text"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/get_answers"/>
|
|
|
|
|
android:id="@+id/description_text"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:textAppearance="@style/Body14TextStyle"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/get_answers"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/header_text"
|
|
|
|
|
tools:text="@string/onboarding_whats_new_description" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/get_answers"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textAppearance="@style/Body14TextStyle"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingBottom="12dp"
|
|
|
|
|
android:text="@string/onboarding_whats_new_description_linktext"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/description_text"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
|
|
android:id="@+id/get_answers"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingBottom="18dp"
|
|
|
|
|
android:text="@string/onboarding_whats_new_description_linktext"
|
|
|
|
|
android:textAppearance="@style/Body14TextStyle"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/description_text" />
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|