diff options
Diffstat (limited to 'app/src/main/res/layouts/mastodon/layout/imagelistpreference_item.xml')
-rw-r--r-- | app/src/main/res/layouts/mastodon/layout/imagelistpreference_item.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app/src/main/res/layouts/mastodon/layout/imagelistpreference_item.xml b/app/src/main/res/layouts/mastodon/layout/imagelistpreference_item.xml new file mode 100644 index 000000000..5c1fc649e --- /dev/null +++ b/app/src/main/res/layouts/mastodon/layout/imagelistpreference_item.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + 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_image" + 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" /> + + <ImageView + android:id="@+id/imagelistpreference_image" + android:layout_width="64dp" + android:layout_height="64dp" + android:layout_alignParentEnd="true" + android:layout_margin="5dp" + android:layout_marginEnd="4dp" /> +</RelativeLayout>
\ No newline at end of file |