mirror of
https://github.com/element-hq/element-android
synced 2024-12-23 01:31:24 +03:00
42 lines
1.8 KiB
XML
42 lines
1.8 KiB
XML
|
<?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">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/localeTitle"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:paddingStart="@dimen/layout_horizontal_margin"
|
||
|
android:paddingEnd="@dimen/layout_horizontal_margin"
|
||
|
android:textColor="?riotx_text_primary"
|
||
|
android:textSize="16sp"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/localeSubtitle"
|
||
|
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"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:paddingStart="@dimen/layout_horizontal_margin"
|
||
|
android:paddingEnd="@dimen/layout_horizontal_margin"
|
||
|
android:textColor="?riotx_text_secondary"
|
||
|
android:textSize="14sp"
|
||
|
android:visibility="gone"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/localeTitle"
|
||
|
tools:text="details"
|
||
|
tools:visibility="visible" />
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|