2019-08-19 16:50:33 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-10-29 23:41:44 +01:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-08-19 16:50:33 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2019-10-29 23:41:44 +01:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swiper"
|
|
|
|
style="@style/AppTheme.Fragment"
|
2019-08-19 16:50:33 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-10-29 23:41:44 +01:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
2019-08-19 16:50:33 +02:00
|
|
|
|
2019-10-29 23:41:44 +01:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/favorites"
|
2019-08-19 16:50:33 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-10-29 23:41:44 +01:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:listitem="@layout/row_track" />
|
|
|
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@android:color/transparent">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
2019-08-19 16:50:33 +02:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-29 23:41:44 +01:00
|
|
|
android:clipChildren="false"
|
|
|
|
app:layout_collapseMode="parallax">
|
2019-08-19 16:50:33 +02:00
|
|
|
|
2022-12-09 09:49:41 +01:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/filter_tracks"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/favorites_title"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:ems="10"
|
|
|
|
android:inputType="text"
|
|
|
|
android:hint="@string/filters" />
|
|
|
|
|
2019-08-19 16:50:33 +02:00
|
|
|
<TextView
|
|
|
|
style="@style/AppTheme.Title"
|
2022-12-09 09:49:41 +01:00
|
|
|
android:id="@+id/favorites_title"
|
2019-08-19 16:50:33 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-21 19:49:48 +02:00
|
|
|
android:layout_marginStart="16dp"
|
2019-08-19 16:50:33 +02:00
|
|
|
android:layout_marginTop="64dp"
|
2019-10-21 19:49:48 +02:00
|
|
|
android:layout_marginEnd="16dp"
|
2022-12-09 09:49:41 +01:00
|
|
|
android:layout_marginBottom="6dp"
|
2019-08-19 16:50:33 +02:00
|
|
|
android:text="@string/favorites" />
|
|
|
|
|
2020-06-24 16:04:36 +02:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2019-08-19 16:50:33 +02:00
|
|
|
android:id="@+id/play"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
2020-06-24 16:04:36 +02:00
|
|
|
android:layout_marginTop="8dp"
|
2019-08-19 16:50:33 +02:00
|
|
|
android:backgroundTint="@color/colorPrimary"
|
2020-06-24 16:04:36 +02:00
|
|
|
android:paddingHorizontal="16dp"
|
|
|
|
android:paddingVertical="8dp"
|
2019-08-19 16:50:33 +02:00
|
|
|
android:text="@string/playback_shuffle"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
app:icon="@drawable/play"
|
2020-06-24 16:04:36 +02:00
|
|
|
app:iconTint="@android:color/white"
|
|
|
|
app:rippleColor="@color/ripple" />
|
2019-08-19 16:50:33 +02:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2019-10-29 23:41:44 +01:00
|
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
2019-08-19 16:50:33 +02:00
|
|
|
|
2019-10-29 23:41:44 +01:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2019-08-19 16:50:33 +02:00
|
|
|
|
2019-10-29 23:41:44 +01:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|