51 lines
1.9 KiB
XML
51 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout 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="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="16dp"
|
|
android:paddingLeft="16dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingEnd="16dp"
|
|
android:paddingRight="16dp"
|
|
android:paddingBottom="8dp">
|
|
|
|
<TextView
|
|
android:id="@+id/imagelistpreference_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginRight="8dp"
|
|
android:layout_toStartOf="@+id/imagelistpreference_card"
|
|
android:layout_toEndOf="@+id/imagelistpreference_radio" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/imagelistpreference_radio"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:clickable="false"
|
|
android:focusable="false" />
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/imagelistpreference_card"
|
|
android:layout_width="64dp"
|
|
android:layout_height="64dp"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_margin="5dp"
|
|
android:layout_marginEnd="4dp"
|
|
android:elevation="12dp"
|
|
app:cardCornerRadius="8dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/imagelistpreference_image"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="8dp"
|
|
tools:src="@drawable/fedilab_logo_hero" />
|
|
</androidx.cardview.widget.CardView>
|
|
</RelativeLayout> |