2020-08-11 18:29:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-08-13 08:24:36 +00:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-08-11 18:29:44 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-08-13 08:24:36 +00:00
|
|
|
android:id="@+id/container"
|
2020-08-11 18:29:44 +00:00
|
|
|
android:layout_width="match_parent"
|
2021-09-08 18:30:20 +00:00
|
|
|
android:layout_height="match_parent"
|
2021-09-16 12:59:31 +00:00
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
android:transitionGroup="true">
|
2020-08-11 18:29:44 +00:00
|
|
|
|
2020-08-13 08:24:36 +00:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appBarLayout"
|
2020-08-11 18:29:44 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-08-13 08:24:36 +00:00
|
|
|
android:layout_height="wrap_content"
|
2021-11-08 06:46:48 +00:00
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
app:liftOnScroll="true">
|
2020-08-11 18:29:44 +00:00
|
|
|
|
2020-08-13 08:24:36 +00:00
|
|
|
<FrameLayout
|
2021-09-20 09:33:47 +00:00
|
|
|
android:id="@+id/toolbar_container"
|
2020-08-11 18:29:44 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-13 08:24:36 +00:00
|
|
|
app:layout_scrollFlags="scroll|enterAlways">
|
2020-08-11 18:29:44 +00:00
|
|
|
|
2020-08-13 08:24:36 +00:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/toolbar"
|
2020-08-11 18:29:44 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-13 08:24:36 +00:00
|
|
|
app:navigationIcon="@drawable/ic_keyboard_backspace_black"
|
|
|
|
app:titleTextAppearance="@style/ToolbarTextAppearanceNormal" />
|
|
|
|
</FrameLayout>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2020-08-11 18:29:44 +00:00
|
|
|
|
2020-08-13 08:24:36 +00:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recyclerView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:scrollbars="none"
|
|
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior" />
|
2020-08-11 18:29:44 +00:00
|
|
|
|
2020-08-13 08:24:36 +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-08-11 18:29:44 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-08-13 08:24:36 +00:00
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:text="@string/empty_text_emoji"
|
|
|
|
android:textAppearance="@style/TextViewHeadline3" />
|
2020-08-11 18:29:44 +00:00
|
|
|
|
2020-08-13 08:24:36 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/emptyText"
|
2020-08-11 18:29:44 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2020-08-13 08:24:36 +00:00
|
|
|
android:text="@string/no_songs"
|
|
|
|
android:textAppearance="@style/TextViewHeadline5"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
</LinearLayout>
|
2020-08-20 09:52:38 +00:00
|
|
|
|
2020-12-03 15:01:27 +00:00
|
|
|
<com.google.android.material.progressindicator.CircularProgressIndicator
|
2020-08-20 09:52:38 +00:00
|
|
|
android:id="@+id/progressIndicator"
|
2020-08-21 14:19:15 +00:00
|
|
|
android:layout_width="100dp"
|
2020-12-03 15:01:27 +00:00
|
|
|
android:layout_height="100dp"
|
2020-08-20 09:52:38 +00:00
|
|
|
android:layout_gravity="center"
|
2020-08-21 14:19:15 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:indeterminate="true" />
|
2020-08-13 08:24:36 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|