tor-browser

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

fragment_locale_settings.xml (1722B)


      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:layout_width="match_parent"
      8    android:layout_height="match_parent">
      9 
     10    <com.google.android.material.switchmaterial.SwitchMaterial
     11        android:id="@+id/enable_switch"
     12        android:layout_width="match_parent"
     13        android:layout_height="wrap_content"
     14        android:layout_gravity="center_vertical|end"
     15        android:background="?android:attr/selectableItemBackground"
     16        android:checked="true"
     17        android:clickable="true"
     18        android:focusable="true"
     19        android:layout_marginStart="54dp"
     20        android:padding="16dp"
     21        android:text="@string/tor_spoof_english"
     22        android:textColor="?textPrimary"
     23        android:textSize="16sp"
     24        app:layout_constraintEnd_toEndOf="parent"
     25        app:layout_constraintStart_toStartOf="parent"
     26        app:layout_constraintTop_toTopOf="parent"  />
     27    <androidx.constraintlayout.widget.ConstraintLayout
     28        android:id="@+id/locale_container"
     29        android:layout_width="match_parent"
     30        android:layout_height="0dp"
     31        app:layout_constraintBottom_toBottomOf="parent"
     32        app:layout_constraintEnd_toEndOf="parent"
     33        app:layout_constraintStart_toStartOf="parent"
     34        app:layout_constraintTop_toBottomOf="@id/enable_switch" />
     35 
     36 </androidx.constraintlayout.widget.ConstraintLayout>