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