|
|
|
@ -6,7 +6,9 @@
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:padding="20dp"
|
|
|
|
|
android:paddingTop="20dp"
|
|
|
|
|
android:paddingEnd="20dp"
|
|
|
|
|
android:paddingStart="20dp"
|
|
|
|
|
android:paddingBottom="10dp">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
@ -15,7 +17,8 @@
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:src="@drawable/ic_info"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
tools:tint="@color/contrast_text_private_theme"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/title"
|
|
|
|
@ -27,18 +30,20 @@
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
tools:text="@string/search_suggestions_onboarding_title" />
|
|
|
|
|
tools:text="@string/search_suggestions_onboarding_title"
|
|
|
|
|
tools:textAppearance="?android:attr/textAppearanceListItem"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/text"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/search_suggestions_onboarding_text"
|
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/learn_more"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/title"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/title"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/title" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/title"
|
|
|
|
|
tools:text="@string/search_suggestions_onboarding_text"
|
|
|
|
|
tools:textAppearance="?attr/textAppearanceListItemSmall"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/learn_more"
|
|
|
|
@ -51,7 +56,8 @@
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/allow"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/title"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/title"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/text" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/text"
|
|
|
|
|
tools:textColor="@color/accent_high_contrast_private_theme"/>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
android:id="@+id/allow"
|
|
|
|
@ -62,7 +68,7 @@
|
|
|
|
|
android:text="@string/search_suggestions_onboarding_allow_button"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/title"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/text" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/learn_more" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/dismiss"
|
|
|
|
|