|
|
@ -24,14 +24,53 @@ |
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
app:layout_constraintEnd_toEndOf="parent" /> |
|
|
|
<TextView |
|
|
|
android:id="@+id/description_text" |
|
|
|
android:id="@+id/description_text_once" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textAppearance="@style/Body14TextStyle" |
|
|
|
android:layout_marginTop="14dp" |
|
|
|
tools:text="@string/onboarding_private_browsing_description" |
|
|
|
tools:text="@string/onboarding_private_browsing_description1" |
|
|
|
app:layout_constraintTop_toBottomOf="@id/header_text" |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
app:layout_constraintBottom_toBottomOf="parent" /> |
|
|
|
app:layout_constraintBottom_toTopOf="@id/description_text_always" /> |
|
|
|
<TextView |
|
|
|
android:id="@+id/description_text_always" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textAppearance="@style/Body14TextStyle" |
|
|
|
android:layout_marginTop="14dp" |
|
|
|
android:text="@string/onboarding_private_browsing_always_description" |
|
|
|
app:layout_constraintTop_toBottomOf="@id/description_text_once" |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
app:layout_constraintBottom_toTopOf="@id/open_settings_button" /> |
|
|
|
|
|
|
|
<FrameLayout |
|
|
|
android:id="@+id/open_settings_button" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
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_always" |
|
|
|
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_private_browsing_button" |
|
|
|
android:textColor="?primaryText" |
|
|
|
android:textSize="14sp" /> |
|
|
|
</FrameLayout> |
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
|