mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-06 01:35:09 +01:00
53 lines
2.4 KiB
XML
53 lines
2.4 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:id="@+id/controller_item"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:background="?attr/selectableItemBackground"
|
||
|
android:clickable="true"
|
||
|
android:focusable="true">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/text_title"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="16dp"
|
||
|
android:layout_marginTop="16dp"
|
||
|
android:textAppearance="?android:attr/textAppearanceListItem"
|
||
|
app:layout_constrainedWidth="true"
|
||
|
app:layout_constraintBottom_toTopOf="@id/text_subtitle"
|
||
|
app:layout_constraintEnd_toStartOf="@id/checkbox"
|
||
|
app:layout_constraintHorizontal_bias="0"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
tools:text="Title" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/text_subtitle"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="16dp"
|
||
|
android:layout_marginBottom="16dp"
|
||
|
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
|
||
|
android:textColor="@android:color/tertiary_text_light"
|
||
|
app:layout_constrainedWidth="true"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toStartOf="@id/checkbox"
|
||
|
app:layout_constraintHorizontal_bias="0"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@id/text_title"
|
||
|
tools:text="Summary" />
|
||
|
|
||
|
<com.google.android.material.checkbox.MaterialCheckBox
|
||
|
android:id="@+id/checkbox"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:clickable="false"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintHorizontal_bias="1"
|
||
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|