87 lines
3.2 KiB
XML
87 lines
3.2 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:scrollbars="none"
|
|
tools:ignore="SpeakableTextPresentCheck" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_msg"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="16dp"
|
|
android:layout_gravity="center"
|
|
android:visibility="gone" />
|
|
|
|
</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> |