97 lines
3.8 KiB
XML
97 lines
3.8 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:id="@+id/root"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<include layout="@layout/status_bar" />
|
|
</FrameLayout>
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/app_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:elevation="@dimen/card_elevation"
|
|
app:elevation="@dimen/card_elevation">
|
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
|
android:id="@+id/collapsing_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
|
app:titleEnabled="false">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ViewStub
|
|
android:id="@+id/cab_stub"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp" />
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
style="@style/Toolbar48"
|
|
app:layout_collapseMode="pin"
|
|
app:title=""
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
style="@style/BigTitleTextAppearance" />
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
</FrameLayout>
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?dividerColor" />
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
<com.simplecityapps.recyclerview_fastscroll.views.FastScrollRecyclerView
|
|
android:id="@+id/recycler_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:clipToPadding="false"
|
|
android:scrollbars="none"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
|
|
|
|
<TextView
|
|
android:id="@android:id/empty"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:fontFamily="sans-serif-light"
|
|
android:text="@string/playlist_empty_text"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="@dimen/empty_text_size"
|
|
android:visibility="gone" />
|
|
|
|
<code.name.monkey.retromusic.views.CollapsingFAB
|
|
android:id="@+id/action_shuffle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|end"
|
|
app:setText="@string/action_shuffle_all"
|
|
app:setIcon="@drawable/ic_shuffle_white_24dp"
|
|
app:showTitle="true" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
</LinearLayout> |