66 lines
No EOL
2.8 KiB
XML
66 lines
No EOL
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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:fitsSystemWindows="true">
|
|
|
|
<io.github.muntashirakon.music.views.insets.InsetsRecyclerView
|
|
android:id="@+id/recycler_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
android:overScrollMode="@integer/overScrollMode"
|
|
android:scrollbars="none"
|
|
android:transitionGroup="true"
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
|
|
tools:listitem="@layout/item_list" />
|
|
|
|
<io.github.muntashirakon.music.views.TopAppBarLayout
|
|
android:id="@+id/appBarLayout"
|
|
style="?appBarLayoutStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fitsSystemWindows="true"
|
|
android:theme="@style/CenteredCheckBoxTheme" />
|
|
|
|
<LinearLayout
|
|
android:id="@android:id/empty"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/emptyEmoji"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dp"
|
|
android:text="@string/empty_text_emoji"
|
|
android:textAppearance="@style/TextViewHeadline3" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/emptyText"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="@string/empty"
|
|
android:textAppearance="@style/TextViewHeadline5"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
tools:visibility="visible" />
|
|
</LinearLayout>
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
android:id="@+id/shuffle_button"
|
|
style="@style/Widget.Material3.FloatingActionButton.Primary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|end"
|
|
android:layout_marginHorizontal="16dp"
|
|
android:contentDescription="@string/shuffle"
|
|
app:srcCompat="@drawable/ic_shuffle" />
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |