2020-01-04 02:15:35 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-06-29 11:59:01 +00:00
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
2020-01-04 02:15:35 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-06-29 11:59:01 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-01-04 02:15:35 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-06-29 11:59:01 +00:00
|
|
|
android:layout_height="48dp">
|
2020-01-04 02:15:35 +00:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/locale_selected_icon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-29 11:59:01 +00:00
|
|
|
android:layout_marginStart="@dimen/locale_list_margin"
|
2020-01-04 02:15:35 +00:00
|
|
|
android:contentDescription="@string/a11y_selected_locale_content_description"
|
2020-02-06 13:32:50 +00:00
|
|
|
app:srcCompat="@drawable/mozac_ic_check"
|
2020-06-29 11:59:01 +00:00
|
|
|
app:tint="?primaryText"
|
|
|
|
android:visibility="visible"
|
2020-01-04 02:15:35 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/locale_title_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/locale_item_text_margin_start"
|
2020-06-29 11:59:01 +00:00
|
|
|
android:layout_marginEnd="@dimen/locale_item_text_margin_end"
|
2020-01-04 02:15:35 +00:00
|
|
|
android:textColor="?primaryText"
|
2020-01-10 16:09:17 +00:00
|
|
|
android:textAlignment="viewStart"
|
2020-01-04 02:15:35 +00:00
|
|
|
app:layout_goneMarginStart="@dimen/locale_item_text_margin_gone_start"
|
|
|
|
android:textSize="@dimen/locale_item_title_size"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/locale_subtitle_text"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/locale_selected_icon"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintVertical_chainStyle="packed"
|
2020-06-29 11:59:01 +00:00
|
|
|
tools:text="English (United States)" />
|
2020-01-04 02:15:35 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/locale_subtitle_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/locale_item_text_margin_start"
|
2020-06-29 11:59:01 +00:00
|
|
|
android:layout_marginEnd="@dimen/locale_item_text_margin_end"
|
2020-01-04 02:15:35 +00:00
|
|
|
android:textColor="?secondaryText"
|
2020-01-10 16:09:17 +00:00
|
|
|
android:textAlignment="viewStart"
|
2020-01-04 02:15:35 +00:00
|
|
|
android:textSize="@dimen/locale_item_subtitle_size"
|
2020-06-29 11:59:01 +00:00
|
|
|
android:visibility="visible"
|
2020-01-04 02:15:35 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_goneMarginStart="@dimen/locale_item_text_margin_gone_start"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/locale_selected_icon"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/locale_title_text"
|
2020-06-29 11:59:01 +00:00
|
|
|
app:layout_constraintVertical_chainStyle="packed"
|
|
|
|
tools:text="English (United States)" />
|
2020-01-04 02:15:35 +00:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|