[fenix] For https://github.com/mozilla-mobile/fenix/issues/24252 - Rename primaryText...
[gecko.git] / mobile / android / fenix / app / src / main / res / layout / fragment_sign_out.xml
blob500c9bd1ae0e4dbe7fb2dafb4dc0a93612bfc8e9
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3    - License, v. 2.0. If a copy of the MPL was not distributed with this
4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
6     xmlns:app="http://schemas.android.com/apk/res-auto"
7     android:id="@+id/sign_out_fragment"
8     android:layout_width="match_parent"
9     android:layout_height="wrap_content"
10     android:background="?foundation"
11     android:padding="8dp">
13     <TextView
14         android:id="@+id/sign_out_message"
15         style="@style/QuickSettingsText.Icon"
16         android:layout_width="0dp"
17         android:layout_height="wrap_content"
18         android:layout_marginTop="12dp"
19         android:text="@string/sign_out_confirmation_message_2"
20         android:textSize="16sp"
21         app:drawableStartCompat="@drawable/ic_info"
22         app:layout_constraintEnd_toEndOf="parent"
23         app:layout_constraintStart_toStartOf="parent"
24         app:layout_constraintTop_toTopOf="parent" />
26     <com.google.android.material.button.MaterialButton
27         android:id="@+id/signOutCancel"
28         style="@style/Widget.MaterialComponents.Button.TextButton"
29         android:layout_width="wrap_content"
30         android:layout_height="0dp"
31         android:letterSpacing="0"
32         android:padding="10dp"
33         android:scrollbars="none"
34         android:text="@string/sign_out_cancel"
35         android:textAllCaps="false"
36         android:textColor="?attr/textPrimary"
37         android:textStyle="bold"
38         app:fontFamily="@font/metropolis_semibold"
39         app:layout_constraintBottom_toBottomOf="parent"
40         app:layout_constraintEnd_toStartOf="@id/signOutDisconnect"
41         app:layout_constraintTop_toBottomOf="@id/sign_out_message" />
43     <com.google.android.material.button.MaterialButton
44         android:id="@+id/signOutDisconnect"
45         style="@style/PositiveButton"
46         android:layout_width="wrap_content"
47         android:paddingStart="12dp"
48         android:paddingEnd="12dp"
49         android:text="@string/sign_out_disconnect"
50         app:layout_constraintBottom_toBottomOf="parent"
51         app:layout_constraintEnd_toEndOf="parent"
52         app:layout_constraintTop_toBottomOf="@id/sign_out_message" />
53 </androidx.constraintlayout.widget.ConstraintLayout>