84 lines
3.4 KiB
XML
84 lines
3.4 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"
|
|
app:contentInsetStartWithNavigation="0dp"
|
|
app:displayHomeAsUp="false"
|
|
app:fitStatusBar="false"
|
|
app:titleTextAppearance="@style/ToolbarTitle" />
|
|
|
|
<com.google.android.material.progressindicator.LinearProgressIndicator
|
|
android:id="@+id/refresh_progress_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:indeterminate="true"
|
|
app:layout_constraintTop_toBottomOf="@+id/tool_bar" />
|
|
|
|
<com.google.android.material.loadingindicator.LoadingIndicator
|
|
android:id="@+id/loading_indicator"
|
|
style="@style/Widget.Material3.LoadingIndicator.Contained"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_margin="32dp"
|
|
android:visibility="visible" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recycler_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_bottom_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="36dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_dur"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
android:ellipsize="end"
|
|
android:gravity="center_vertical"
|
|
android:singleLine="true"
|
|
android:textSize="12sp" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/iv_top"
|
|
android:layout_width="36dp"
|
|
android:layout_height="match_parent"
|
|
style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
|
|
android:contentDescription="@string/go_to_top"
|
|
app:icon="@drawable/ic_arrow_drop_up"
|
|
app:iconGravity="textStart"
|
|
android:tooltipText="@string/go_to_top"
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/iv_bottom"
|
|
android:layout_width="36dp"
|
|
android:layout_height="match_parent"
|
|
style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
|
|
android:contentDescription="@string/go_to_bottom"
|
|
app:icon="@drawable/ic_arrow_drop_down"
|
|
app:iconGravity="textStart"
|
|
android:tooltipText="@string/go_to_bottom"
|
|
tools:ignore="UnusedAttribute" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |