tor-browser

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

locale_settings_item.xml (3004B)


      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    xmlns:tools="http://schemas.android.com/tools"
      8    android:layout_width="match_parent"
      9    android:layout_height="wrap_content"
     10    android:minHeight="@dimen/locale_item_height">
     11 
     12    <ImageView
     13        android:id="@+id/locale_selected_icon"
     14        android:layout_width="wrap_content"
     15        android:layout_height="wrap_content"
     16        android:layout_marginStart="@dimen/locale_list_margin"
     17        android:contentDescription="@string/a11y_selected_locale_content_description"
     18        app:srcCompat="@drawable/mozac_ic_checkmark_24"
     19        app:tint="?attr/textPrimary"
     20        android:visibility="visible"
     21        app:layout_constraintBottom_toBottomOf="parent"
     22        app:layout_constraintStart_toStartOf="parent"
     23        app:layout_constraintTop_toTopOf="parent" />
     24 
     25    <TextView
     26        android:id="@+id/locale_title_text"
     27        android:layout_width="0dp"
     28        android:layout_height="wrap_content"
     29        android:layout_marginStart="@dimen/locale_item_text_margin_start"
     30        android:layout_marginEnd="@dimen/locale_item_text_margin_end"
     31        android:textColor="?attr/textPrimary"
     32        android:textAlignment="viewStart"
     33        app:layout_goneMarginStart="@dimen/locale_item_text_margin_gone_start"
     34        android:textSize="@dimen/locale_item_title_size"
     35        app:layout_constraintBottom_toTopOf="@id/locale_subtitle_text"
     36        app:layout_constraintEnd_toEndOf="parent"
     37        app:layout_constraintStart_toEndOf="@id/locale_selected_icon"
     38        app:layout_constraintTop_toTopOf="parent"
     39        app:layout_constraintVertical_chainStyle="packed"
     40        tools:text="English (United States)" />
     41 
     42    <TextView
     43        android:id="@+id/locale_subtitle_text"
     44        android:layout_width="0dp"
     45        android:layout_height="wrap_content"
     46        android:layout_marginStart="@dimen/locale_item_text_margin_start"
     47        android:layout_marginEnd="@dimen/locale_item_text_margin_end"
     48        android:textColor="?attr/textSecondary"
     49        android:textAlignment="viewStart"
     50        android:textSize="@dimen/locale_item_subtitle_size"
     51        android:visibility="visible"
     52        app:layout_constraintBottom_toBottomOf="parent"
     53        app:layout_constraintEnd_toEndOf="parent"
     54        app:layout_goneMarginStart="@dimen/locale_item_text_margin_gone_start"
     55        app:layout_constraintStart_toEndOf="@id/locale_selected_icon"
     56        app:layout_constraintTop_toBottomOf="@id/locale_title_text"
     57        app:layout_constraintVertical_chainStyle="packed"
     58        tools:text="English (United States)" />
     59 
     60 </androidx.constraintlayout.widget.ConstraintLayout>