element-android/vector/src/main/res/layout/item_locale.xml

43 lines
1.8 KiB
XML
Raw Normal View History

2020-05-14 03:14:12 +03:00
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="?attr/selectableItemBackground"
android:minHeight="64dp"
tools:viewBindingIgnore="true">
2020-05-14 03:14:12 +03:00
<TextView
android:id="@+id/localeTitle"
style="@style/Widget.Vector.TextView.Subtitle"
2020-05-14 03:14:12 +03:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingEnd="@dimen/layout_horizontal_margin"
2021-06-09 12:51:04 +03:00
android:textColor="?vctr_content_primary"
app:layout_constraintBottom_toTopOf="@id/localeSubtitle"
2020-05-14 03:14:12 +03:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
tools:text="English" />
<TextView
android:id="@+id/localeSubtitle"
style="@style/Widget.Vector.TextView.Body"
2020-05-14 03:14:12 +03:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingEnd="@dimen/layout_horizontal_margin"
2021-06-09 12:51:04 +03:00
android:textColor="?vctr_content_secondary"
2020-05-14 03:14:12 +03:00
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/localeTitle"
2020-05-14 03:14:12 +03:00
tools:text="details"
tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout>