tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

fragment_sign_out.xml (2415B)


      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="?attr/colorSurface"
     11    android:padding="8dp">
     12 
     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" />
     25 
     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:paddingHorizontal="12dp"
     33        android:scrollbars="none"
     34        android:text="@string/sign_out_cancel"
     35        android:textAlignment="center"
     36        android:textAllCaps="false"
     37        android:textColor="?attr/textPrimary"
     38        android:textStyle="bold"
     39        app:layout_constraintBottom_toBottomOf="parent"
     40        app:layout_constraintEnd_toStartOf="@id/signOutDisconnect"
     41        app:layout_constraintTop_toBottomOf="@id/sign_out_message" />
     42 
     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>