2019-11-19 16:37:36 +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"
|
2019-11-19 21:16:34 +03:00
|
|
|
android:foreground="?attr/selectableItemBackground"
|
2019-11-22 13:17:50 +03:00
|
|
|
android:minHeight="72dp"
|
|
|
|
android:paddingStart="16dp"
|
2021-12-07 19:10:41 +03:00
|
|
|
android:paddingEnd="16dp"
|
|
|
|
tools:viewBindingIgnore="true">
|
2019-11-19 16:37:36 +03:00
|
|
|
|
2021-06-09 12:51:04 +03:00
|
|
|
<CheckBox
|
2019-11-19 16:37:36 +03:00
|
|
|
android:id="@+id/adapter_item_policy_checkbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/adapter_item_policy_title"
|
2021-06-16 12:59:08 +03:00
|
|
|
style="@style/Widget.Vector.TextView.Body"
|
2019-11-19 16:37:36 +03:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawablePadding="8dp"
|
2021-06-14 21:20:19 +03:00
|
|
|
android:textColor="?vctr_content_primary"
|
2021-12-02 00:13:21 +03:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/adapter_item_policy_subtitle"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/adapter_item_policy_arrow"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/adapter_item_policy_checkbox"
|
2019-11-19 16:37:36 +03:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2019-11-19 21:16:34 +03:00
|
|
|
app:layout_constraintVertical_chainStyle="packed"
|
2019-11-19 16:37:36 +03:00
|
|
|
tools:text="Policy title" />
|
|
|
|
|
2019-11-19 21:16:34 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/adapter_item_policy_subtitle"
|
2021-06-16 12:59:08 +03:00
|
|
|
style="@style/Widget.Vector.TextView.Caption"
|
2019-11-19 21:16:34 +03:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
android:drawablePadding="8dp"
|
2021-06-14 21:20:19 +03:00
|
|
|
android:textColor="?vctr_content_secondary"
|
2019-11-19 21:16:34 +03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2021-12-02 00:13:21 +03:00
|
|
|
app:layout_constraintEnd_toStartOf="@id/adapter_item_policy_arrow"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/adapter_item_policy_checkbox"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/adapter_item_policy_title"
|
2019-11-19 21:16:34 +03:00
|
|
|
tools:text="matrix.org" />
|
|
|
|
|
2019-11-19 16:37:36 +03:00
|
|
|
<!-- Do not use drawableEnd on the TextView because of RTL support -->
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/adapter_item_policy_arrow"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-11-19 20:44:11 +03:00
|
|
|
android:importantForAccessibility="no"
|
2019-11-19 21:16:34 +03:00
|
|
|
android:paddingStart="8dp"
|
|
|
|
android:paddingEnd="0dp"
|
2019-11-19 16:37:36 +03:00
|
|
|
android:rotationY="@integer/rtl_mirror_flip"
|
2021-06-09 12:51:04 +03:00
|
|
|
android:src="@drawable/ic_arrow_right"
|
2019-11-19 16:37:36 +03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-10-08 10:22:55 +03:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2021-06-09 12:51:04 +03:00
|
|
|
app:tint="?vctr_content_secondary"
|
2020-10-08 10:22:55 +03:00
|
|
|
tools:ignore="MissingPrefix" />
|
2019-11-19 16:37:36 +03:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|