2023-11-26 01:47:24 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout 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="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="8dp"
|
2023-11-26 08:42:25 +01:00
|
|
|
android:gravity="center"
|
|
|
|
android:includeFontPadding="false"
|
2023-11-26 01:47:24 +01:00
|
|
|
android:text="@string/attachment_rearrange_desc"
|
2023-11-26 08:42:25 +01:00
|
|
|
android:textColor="?attr/colorTextContent" />
|
2023-11-26 01:47:24 +01:00
|
|
|
|
2023-11-26 08:42:25 +01:00
|
|
|
<!--
|
|
|
|
並べ替えのRecyclerView
|
2023-11-26 23:57:05 +01:00
|
|
|
ドラッグせずにスクロールするためのタッチ領域を確保したいのでpadding多め
|
2023-11-26 08:42:25 +01:00
|
|
|
-->
|
2023-11-26 01:47:24 +01:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/listView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:clipToPadding="false"
|
2023-11-26 08:42:25 +01:00
|
|
|
android:fadeScrollbars="false"
|
2023-11-26 23:57:05 +01:00
|
|
|
android:paddingHorizontal="48dp"
|
2023-11-26 08:42:25 +01:00
|
|
|
android:paddingVertical="8dp"
|
|
|
|
android:scrollbarStyle="outsideOverlay"
|
|
|
|
android:scrollbars="vertical" />
|
2023-11-26 01:47:24 +01:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
2023-11-26 08:42:25 +01:00
|
|
|
android:background="?attr/colorSettingDivider" />
|
2023-11-26 01:47:24 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2023-11-26 08:42:25 +01:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2023-11-26 01:47:24 +01:00
|
|
|
<Button
|
2023-11-26 08:42:25 +01:00
|
|
|
android:id="@+id/btnCancel"
|
2023-11-26 01:47:24 +01:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2023-11-26 08:42:25 +01:00
|
|
|
android:background="@drawable/btn_bg_transparent_round6dp"
|
|
|
|
android:textColor="?attr/colorTextContent"
|
|
|
|
android:text="@string/cancel" />
|
|
|
|
|
2023-11-26 01:47:24 +01:00
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
2023-11-26 08:42:25 +01:00
|
|
|
android:background="?attr/colorSettingDivider" />
|
|
|
|
|
2023-11-26 01:47:24 +01:00
|
|
|
<Button
|
2023-11-26 08:42:25 +01:00
|
|
|
android:id="@+id/btnOk"
|
2023-11-26 01:47:24 +01:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2023-11-26 08:42:25 +01:00
|
|
|
android:background="@drawable/btn_bg_transparent_round6dp"
|
|
|
|
android:textColor="?attr/colorTextContent"
|
|
|
|
android:text="@string/ok" />
|
2023-11-26 01:47:24 +01:00
|
|
|
</LinearLayout>
|
2023-11-26 08:42:25 +01:00
|
|
|
</LinearLayout>
|