PlayerAndroid/app/src/main/res/layout/activity_playing_queue.xml

85 lines
3.3 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2018-08-30 09:29:30 +00:00
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-08-08 08:03:38 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-08-08 08:03:38 +00:00
android:layout_height="match_parent"
android:orientation="vertical">
2018-08-30 09:29:30 +00:00
<com.google.android.material.appbar.AppBarLayout
2018-08-08 08:03:38 +00:00
android:id="@+id/app_bar"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-08-08 08:03:38 +00:00
android:layout_height="wrap_content"
android:elevation="0dp"
app:elevation="0dp">
2018-08-30 09:29:30 +00:00
<com.google.android.material.appbar.CollapsingToolbarLayout
2018-08-08 08:03:38 +00:00
android:id="@+id/collapsing_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_scrollFlags="scroll|enterAlways"
app:titleEnabled="false">
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
2018-12-04 15:34:26 +00:00
style="@style/Toolbar"
2018-08-30 09:29:30 +00:00
app:layout_collapseMode="pin"
app:title=""
tools:ignore="UnusedAttribute">
2018-08-08 08:03:38 +00:00
2018-08-30 09:29:30 +00:00
<TextView
android:id="@+id/title"
style="@style/BigTitleTextAppearance"
android:text="@string/queue" />
2018-08-08 08:03:38 +00:00
2018-08-30 09:29:30 +00:00
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.CollapsingToolbarLayout>
2018-08-08 08:03:38 +00:00
<TextView
android:id="@+id/player_queue_sub_header"
android:layout_width="match_parent"
android:layout_height="48dp"
android:gravity="center_vertical"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:text="@string/up_next"
android:textAppearance="@style/TextAppearance.AppCompat.Body2" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?dividerColor" />
2018-08-30 09:29:30 +00:00
</com.google.android.material.appbar.AppBarLayout>
2018-08-08 08:03:38 +00:00
2018-11-28 05:37:10 +00:00
<com.simplecityapps.recyclerview_fastscroll.views.FastScrollRecyclerView
android:id="@+id/recycler_view"
2018-08-08 08:03:38 +00:00
android:layout_width="match_parent"
2018-11-28 05:37:10 +00:00
android:layout_height="match_parent"
android:clipToPadding="false"
android:layoutAnimation="@anim/layout_animation_fall_down"
android:scrollbars="none"
2018-08-08 08:03:38 +00:00
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
2018-11-28 05:37:10 +00:00
<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/empty"
android:textColor="?android:textColorSecondary"
android:visibility="gone" />
<code.name.monkey.retromusic.views.CollapsingFAB
android:id="@+id/clear_queue"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
app:setIcon="@drawable/ic_clear_all_black_24dp"
app:showTitle="true"
app:setText="@string/clear_playing_queue"
app:shuffleBackgroundColor="@color/md_deep_purple_A700" />
2018-08-30 09:29:30 +00:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>