2020-09-25 17:38:59 +00:00
|
|
|
<?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"
|
2021-09-08 18:30:20 +00:00
|
|
|
android:layout_height="match_parent"
|
2021-11-11 15:29:28 +00:00
|
|
|
android:fitsSystemWindows="true">
|
2020-09-25 17:38:59 +00:00
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appBarLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-09-12 14:20:33 +00:00
|
|
|
android:fitsSystemWindows="true">
|
2020-09-25 17:38:59 +00:00
|
|
|
|
|
|
|
<FrameLayout
|
2021-09-20 09:33:47 +00:00
|
|
|
android:id="@+id/toolbar_container"
|
2020-09-25 17:38:59 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:navigationIcon="@drawable/ic_search"
|
|
|
|
app:popupTheme="?attr/toolbarPopupTheme"
|
|
|
|
app:title="@null"
|
|
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/appNameText"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:textAppearance="@style/TextViewHeadline6"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
|
|
</FrameLayout>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
2021-11-23 09:22:46 +00:00
|
|
|
<code.name.monkey.retromusic.views.insets.InsetsRecyclerView
|
2021-11-11 15:29:28 +00:00
|
|
|
android:id="@+id/recycler_view"
|
2020-09-25 17:38:59 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-10-02 18:05:09 +00:00
|
|
|
android:layout_height="match_parent"
|
2020-10-17 12:15:52 +00:00
|
|
|
android:clipToPadding="false"
|
|
|
|
android:scrollbars="none"
|
|
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
|
2021-11-11 15:29:28 +00:00
|
|
|
tools:listitem="@layout/item_list"
|
|
|
|
android:transitionGroup="true"/>
|
2020-09-25 17:38:59 +00:00
|
|
|
|
2020-10-17 12:15:52 +00:00
|
|
|
<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"
|
2020-09-25 17:38:59 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-10-17 12:15:52 +00:00
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:text="@string/empty_text_emoji"
|
|
|
|
android:textAppearance="@style/TextViewHeadline3" />
|
2020-09-25 17:38:59 +00:00
|
|
|
|
2020-10-17 12:15:52 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/emptyText"
|
2020-09-25 17:38:59 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2020-10-17 12:15:52 +00:00
|
|
|
android:text="@string/empty"
|
|
|
|
android:textAppearance="@style/TextViewHeadline5"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
</LinearLayout>
|
2021-09-23 15:26:30 +00:00
|
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
|
|
android:id="@+id/shuffle_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-10-22 14:53:23 +00:00
|
|
|
android:layout_gravity="bottom|end"
|
2021-09-23 15:26:30 +00:00
|
|
|
app:srcCompat="@drawable/ic_shuffle"
|
2021-10-22 14:53:23 +00:00
|
|
|
android:contentDescription="@string/shuffle"
|
2021-10-22 04:46:06 +00:00
|
|
|
style="@style/Widget.Material3.FloatingActionButton.Primary"
|
2021-09-23 15:26:30 +00:00
|
|
|
android:layout_marginHorizontal="16dp"/>
|
2020-09-25 17:38:59 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|