96 lines
3.6 KiB
XML
96 lines
3.6 KiB
XML
<?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">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/tool_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:theme="?attr/actionBarStyle" />
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recycler_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginHorizontal="8dp"
|
|
android:scrollbars="none"
|
|
tools:ignore="SpeakableTextPresentCheck" />
|
|
|
|
<com.google.android.material.loadingindicator.LoadingIndicator
|
|
android:id="@+id/rotate_loading"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
android:layout_margin="32dp"
|
|
android:layout_gravity="center"/>
|
|
|
|
<io.legato.kazusa.ui.widget.EmptyMessageView
|
|
android:id="@+id/emptyView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="invisible"
|
|
android:layout_gravity="center"
|
|
app:messageText="@string/empty"/>
|
|
|
|
</FrameLayout>
|
|
|
|
<com.google.android.flexbox.FlexboxLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="12dp"
|
|
android:paddingRight="12dp"
|
|
app:flexWrap="wrap"
|
|
app:justifyContent="space_between">
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/tv_footer_left"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
style="@style/Widget.Material3Expressive.Button.TonalButton"
|
|
android:padding="12dp"
|
|
android:visibility="gone"
|
|
tools:ignore="RtlHardcoded" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/tv_cancel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
style="@style/Widget.Material3Expressive.Button.OutlinedButton"
|
|
android:padding="12dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:text="@string/cancel"
|
|
android:visibility="gone"
|
|
tools:ignore="RtlHardcoded" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/tv_ok"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
style="@style/Widget.Material3Expressive.Button"
|
|
android:padding="12dp"
|
|
android:text="@string/ok"
|
|
android:visibility="gone"
|
|
tools:ignore="RtlHardcoded" />
|
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.flexbox.FlexboxLayout>
|
|
</LinearLayout> |