mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-23 19:07:54 +03:00
c3e54d1abf
* Refactor some classes and clean up * Refresh style on the fly
44 lines
1.9 KiB
XML
44 lines
1.9 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:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:padding="16dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/icon"
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:contentDescription="@string/icon"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:src="@drawable/default_icon" />
|
|
|
|
<TextView
|
|
android:id="@+id/text_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="10dp"
|
|
android:textAppearance="?android:attr/textAppearanceListItem"
|
|
app:layout_constraintBottom_toTopOf="@+id/text_subtitle"
|
|
app:layout_constraintStart_toEndOf="@id/icon"
|
|
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="10dp"
|
|
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
|
|
android:textColor="@android:color/tertiary_text_light"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toEndOf="@id/icon"
|
|
app:layout_constraintTop_toBottomOf="@+id/text_title"
|
|
tools:text="SubTitle" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|