83 lines
3.4 KiB
XML
83 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: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>
|
||
|
|
||
|
<android.support.design.widget.CoordinatorLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<android.support.design.widget.AppBarLayout
|
||
|
android:id="@+id/app_bar"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:focusable="true"
|
||
|
tools:ignore="UnusedAttribute">
|
||
|
|
||
|
<code.name.monkey.retromusic.views.SansFontCollapsingToolbarLayout
|
||
|
android:id="@+id/collapsing_toolbar"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="96dp"
|
||
|
app:collapsedTitleTextAppearance="@style/CollapsedTitleAppearance"
|
||
|
app:expandedTitleGravity="top"
|
||
|
app:expandedTitleMarginStart="16dp"
|
||
|
app:expandedTitleMarginTop="48dp"
|
||
|
app:expandedTitleTextAppearance="@style/ExpandedTitleAppearance"
|
||
|
app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
||
|
|
||
|
<android.support.v7.widget.Toolbar
|
||
|
android:id="@+id/toolbar"
|
||
|
style="@style/Toolbar48"
|
||
|
tools:ignore="UnusedAttribute" />
|
||
|
</code.name.monkey.retromusic.views.SansFontCollapsingToolbarLayout>
|
||
|
|
||
|
<ViewStub
|
||
|
android:id="@+id/cab_stub"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp" />
|
||
|
|
||
|
</android.support.design.widget.AppBarLayout>
|
||
|
|
||
|
<com.simplecityapps.recyclerview_fastscroll.views.FastScrollRecyclerView
|
||
|
android:id="@+id/recycler_view"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
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" />
|
||
|
|
||
|
<include layout="@layout/horizontal_progress" />
|
||
|
|
||
|
<android.support.design.widget.FloatingActionButton
|
||
|
android:id="@+id/action_shuffle"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_gravity="bottom|end"
|
||
|
android:layout_margin="16dp"
|
||
|
android:src="@drawable/ic_shuffle_white_24dp"
|
||
|
app:layout_behavior="code.name.monkey.retromusic.misc.ScrollAwareFABBehavior" />
|
||
|
</android.support.design.widget.CoordinatorLayout>
|
||
|
</LinearLayout>
|