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

77 lines
3.1 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-12-06 10:23:03 +00:00
android:id="@+id/appBarLayout"
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-12-06 10:23:03 +00:00
android:id="@+id/collapsingToolbarLayout"
2018-08-08 08:03:38 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_scrollFlags="scroll|enterAlways"
app:titleEnabled="false">
2019-09-29 08:37:57 +00:00
<com.google.android.material.appbar.MaterialToolbar
2018-08-30 09:29:30 +00:00
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"
2019-05-20 19:38:43 +00:00
app:title="@string/queue"
app:titleTextAppearance="@style/ToolbarTextAppearanceNormal"
2019-05-20 19:38:43 +00:00
tools:ignore="UnusedAttribute" />
2018-08-30 09:29:30 +00:00
</com.google.android.material.appbar.CollapsingToolbarLayout>
2018-08-08 08:03:38 +00:00
2019-09-28 17:52:49 +00:00
<com.google.android.material.textview.MaterialTextView
2018-12-06 10:23:03 +00:00
android:id="@+id/playerQueueSubHeader"
2018-08-08 08:03:38 +00:00
android:layout_width="match_parent"
android:layout_height="48dp"
android:gravity="center_vertical"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:text="@string/up_next"
2019-09-28 17:52:49 +00:00
android:textAppearance="@style/TextViewBody2" />
2018-08-08 08:03:38 +00:00
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
2018-12-06 10:23:03 +00:00
android:id="@+id/recyclerView"
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
2019-09-29 08:57:27 +00:00
<com.google.android.material.textview.MaterialTextView
2018-11-28 05:37:10 +00:00
android:id="@android:id/empty"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/empty"
android:textAppearance="@style/TextViewNormal"
2019-09-29 08:57:27 +00:00
android:textColor="?colorOnSecondary"
android:visibility="gone"
tools:visibility="visible" />
2018-11-28 05:37:10 +00:00
2019-03-25 12:43:43 +00:00
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
2018-12-06 10:23:03 +00:00
android:id="@+id/clearQueue"
2018-11-28 05:37:10 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
2019-03-25 12:43:43 +00:00
android:layout_margin="16dp"
android:text="@string/clear_playing_queue"
android:textAppearance="@style/TextViewHeadline6"
2019-03-25 12:43:43 +00:00
app:icon="@drawable/ic_clear_all_black_24dp" />
2018-11-28 05:37:10 +00:00
2018-08-30 09:29:30 +00:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>