2020-11-20 15:38:08 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-08-27 16:09:56 +02:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-11-20 15:38:08 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:layout_width="match_parent"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_height="match_parent">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
|
android:id="@+id/appbar"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
2022-01-10 12:45:01 +01:00
|
|
|
android:layout_height="wrap_content">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2022-01-10 12:45:01 +01:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
2021-08-27 16:09:56 +02:00
|
|
|
android:id="@+id/toolbar"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2022-01-12 10:00:11 +01:00
|
|
|
android:background="?attr/colorSurface"
|
2022-01-10 12:45:01 +01:00
|
|
|
app:layout_scrollFlags="scroll|enterAlways|snap">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-04-29 11:03:43 +02:00
|
|
|
<LinearLayout
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:orientation="horizontal">
|
2021-04-29 11:03:43 +02:00
|
|
|
|
|
|
|
|
<ImageView
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="32dp"
|
|
|
|
|
android:layout_height="32dp"
|
2021-08-10 15:47:50 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2021-04-29 11:03:43 +02:00
|
|
|
android:layout_marginEnd="8dp"
|
2021-08-27 16:54:36 +02:00
|
|
|
android:background="@drawable/ic_toolbar_motion_on" />
|
2021-04-29 11:03:43 +02:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<TextView
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/HeadlineMedium"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:54:36 +02:00
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2021-09-04 21:31:27 +02:00
|
|
|
android:text="@string/app_name" />
|
2021-04-29 11:03:43 +02:00
|
|
|
</LinearLayout>
|
2022-01-10 12:45:01 +01:00
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
2021-08-27 16:09:56 +02:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2021-04-14 14:55:28 +02:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
|
|
android:id="@+id/fragment_home_nested_scroll_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
2021-08-17 16:17:41 +02:00
|
|
|
|
2021-04-14 14:55:28 +02:00
|
|
|
<LinearLayout
|
2021-08-27 16:09:56 +02:00
|
|
|
android:id="@+id/home_linear_layout_container"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-17 14:46:10 +02:00
|
|
|
android:orientation="vertical"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:paddingBottom="@dimen/global_padding_bottom">
|
2021-04-14 14:55:28 +02:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<!-- Discover music -->
|
2020-11-20 15:38:08 +01:00
|
|
|
<LinearLayout
|
2021-08-27 16:09:56 +02:00
|
|
|
android:id="@+id/home_discover_sector"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:orientation="vertical">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
|
|
|
|
<TextView
|
2021-08-27 16:09:56 +02:00
|
|
|
android:id="@+id/music_discovery_text_view_refreshable"
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/TitleLarge"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:paddingStart="16dp"
|
2021-09-04 21:31:27 +02:00
|
|
|
android:paddingTop="8dp"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:paddingEnd="16dp"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/home_title_music_discovery" />
|
2021-04-14 14:55:28 +02:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<!-- slideview -->
|
|
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
|
|
|
android:id="@+id/discover_song_view_pager"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="212dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingBottom="8dp" />
|
2020-11-30 20:54:05 +01:00
|
|
|
</LinearLayout>
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_discovery_placeholder"
|
|
|
|
|
layout="@layout/item_placehoder_discovery"
|
|
|
|
|
android:visibility="gone" />
|
2021-04-14 14:55:28 +02:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<!-- Similar tracks -->
|
2020-11-20 15:38:08 +01:00
|
|
|
<LinearLayout
|
2021-08-27 16:09:56 +02:00
|
|
|
android:id="@+id/home_similar_tracks_sector"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:orientation="vertical">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
|
|
|
|
<TextView
|
2021-08-27 16:09:56 +02:00
|
|
|
android:id="@+id/similar_tracks_pre_text_view"
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/TitleMedium"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="20dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/home_subtitle_made_for_you"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:textAllCaps="true" />
|
2021-04-14 14:55:28 +02:00
|
|
|
|
|
|
|
|
<TextView
|
2021-08-27 16:09:56 +02:00
|
|
|
android:id="@+id/similar_tracks_text_view_refreshable"
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/TitleLarge"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/home_title_made_for_you" />
|
2021-04-14 14:55:28 +02:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/similar_tracks_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp" />
|
2020-11-20 15:38:08 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_similar_tracks_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_album"
|
|
|
|
|
android:visibility="gone" />
|
2021-08-17 14:46:10 +02:00
|
|
|
|
2022-01-17 17:32:59 +01:00
|
|
|
<!-- Radio Artist -->
|
2021-08-27 16:09:56 +02:00
|
|
|
<LinearLayout
|
2022-01-17 17:32:59 +01:00
|
|
|
android:id="@+id/home_radio_artist_sector"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
2020-11-21 18:41:35 +01:00
|
|
|
android:layout_height="wrap_content"
|
2022-01-17 17:32:59 +01:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/recently_radio_artist_text_view_refreshable"
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="20dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
2022-01-19 09:34:11 +01:00
|
|
|
android:text="@string/home_title_radio_station" />
|
2022-01-17 17:32:59 +01:00
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/radio_artist_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_radio_artist_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_album"
|
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
style="@style/Divider"
|
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
android:layout_marginBottom="12dp" />
|
|
|
|
|
|
2022-12-28 14:25:59 +01:00
|
|
|
<!-- Grid tracks -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_grid_tracks_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/grid_tracks_pre_text_view"
|
|
|
|
|
style="@style/TitleMedium"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:text="Last week"
|
|
|
|
|
android:textAllCaps="true" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/grid_tracks_text_view"
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:text="Your top songs" />
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/grid_tracks_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:paddingBottom="8dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/after_grid_divider"
|
|
|
|
|
style="@style/Divider"
|
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
android:layout_marginBottom="12dp" />
|
|
|
|
|
|
2022-01-17 17:32:59 +01:00
|
|
|
<!-- Favorites -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/starred_tracks_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
2022-01-17 17:32:59 +01:00
|
|
|
android:id="@+id/starred_tracks_text_view_refreshable"
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:text="@string/home_title_starred_tracks" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/starred_tracks_text_view_clickable"
|
|
|
|
|
style="@style/TitleMedium"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:text="@string/home_title_starred_tracks_see_all_button" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/starred_tracks_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingBottom="8dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/starred_tracks_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_horizontal"
|
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/starred_albums_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/starred_albums_text_view_refreshable"
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/TitleLarge"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2022-01-17 17:32:59 +01:00
|
|
|
android:text="@string/home_title_starred_albums" />
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
2022-01-17 17:32:59 +01:00
|
|
|
android:id="@+id/starred_albums_text_view_clickable"
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/TitleMedium"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2022-01-17 17:32:59 +01:00
|
|
|
android:text="@string/home_title_starred_albums_see_all_button" />
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2022-01-17 17:32:59 +01:00
|
|
|
android:id="@+id/starred_albums_recycler_view"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingBottom="8dp" />
|
|
|
|
|
</LinearLayout>
|
2021-08-17 14:46:10 +02:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<include
|
2022-01-17 17:32:59 +01:00
|
|
|
android:id="@+id/starred_albums_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_horizontal"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:visibility="gone" />
|
2020-11-30 20:54:05 +01:00
|
|
|
|
2020-11-20 15:38:08 +01:00
|
|
|
<LinearLayout
|
2022-01-17 17:32:59 +01:00
|
|
|
android:id="@+id/starred_artists_sector"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:orientation="vertical">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:orientation="horizontal"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:paddingStart="8dp"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
2022-01-17 17:32:59 +01:00
|
|
|
android:id="@+id/starred_artists_text_view_refreshable"
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/TitleLarge"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2022-01-17 17:32:59 +01:00
|
|
|
android:text="@string/home_title_starred_artists" />
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
2022-01-17 17:32:59 +01:00
|
|
|
android:id="@+id/starred_artists_text_view_clickable"
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/TitleMedium"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2022-01-17 17:32:59 +01:00
|
|
|
android:text="@string/home_title_starred_artists_see_all_button" />
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2022-01-17 17:32:59 +01:00
|
|
|
android:id="@+id/starred_artists_recycler_view"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
2022-01-17 17:32:59 +01:00
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingBottom="8dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/starred_artists_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_horizontal"
|
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
style="@style/Divider"
|
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
android:layout_marginBottom="12dp" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_new_releases_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingBottom="8dp">
|
|
|
|
|
|
|
|
|
|
<!-- New releases -->
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="8dp"
|
2022-01-17 17:32:59 +01:00
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:text="@string/home_title_new_releases" />
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/new_releases_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingTop="8dp"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:paddingBottom="8dp" />
|
2020-11-20 15:38:08 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<include
|
2022-01-17 17:32:59 +01:00
|
|
|
android:id="@+id/home_new_releases_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_horizontal"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:visibility="gone" />
|
2021-07-27 16:58:38 +02:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<!-- Fashback -->
|
2021-07-27 16:58:38 +02:00
|
|
|
<LinearLayout
|
2021-08-27 16:09:56 +02:00
|
|
|
android:id="@+id/home_flashback_sector"
|
2021-07-27 16:58:38 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:orientation="vertical">
|
2021-07-27 16:58:38 +02:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<!-- Label and button -->
|
2021-07-27 16:58:38 +02:00
|
|
|
<TextView
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/TitleLarge"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="match_parent"
|
2021-07-27 16:58:38 +02:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="20dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/home_title_flashback" />
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/years_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
2021-07-27 16:58:38 +02:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="8dp"
|
2021-07-27 16:58:38 +02:00
|
|
|
android:paddingEnd="8dp"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:paddingBottom="8dp" />
|
2021-07-27 16:58:38 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_flashback_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_year"
|
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
2022-01-17 17:32:59 +01:00
|
|
|
<View
|
|
|
|
|
style="@style/Divider"
|
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
android:layout_marginBottom="12dp" />
|
|
|
|
|
|
|
|
|
|
<!-- Most played albums -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_most_played_albums_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/most_played_albums_text_view_refreshable"
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:text="@string/home_title_most_played" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/most_played_albums_text_view_clickable"
|
|
|
|
|
style="@style/TitleMedium"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:text="@string/home_title_most_played_see_all_button" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/most_played_albums_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_most_played_albums_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_album"
|
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
|
|
<!-- Recently played albums -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_recently_played_albums_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/recently_played_albums_text_view_refreshable"
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:text="@string/home_title_last_played" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/recently_played_albums_text_view_clickable"
|
|
|
|
|
style="@style/TitleMedium"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:text="@string/home_title_last_played_see_all_button" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/recently_played_albums_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_recently_played_albums_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_album"
|
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<!-- Recently added albums -->
|
2020-11-30 20:54:05 +01:00
|
|
|
<LinearLayout
|
2021-08-27 16:09:56 +02:00
|
|
|
android:id="@+id/home_recently_added_albums_sector"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:orientation="vertical">
|
2020-11-30 20:54:05 +01:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
2020-11-30 20:54:05 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:orientation="horizontal"
|
2020-11-30 20:54:05 +01:00
|
|
|
android:paddingStart="8dp"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/recently_added_albums_text_view_refreshable"
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/TitleLarge"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/home_title_recently_added" />
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/recently_added_albums_text_view_clickable"
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/TitleMedium"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/home_title_recently_added_see_all_button" />
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/recently_added_albums_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
2020-11-30 20:54:05 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="8dp"
|
2020-11-30 20:54:05 +01:00
|
|
|
android:paddingEnd="8dp"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:paddingBottom="8dp" />
|
2020-11-30 20:54:05 +01:00
|
|
|
</LinearLayout>
|
2021-04-14 14:55:28 +02:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_recently_added_albums_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_album"
|
|
|
|
|
android:visibility="gone" />
|
2022-02-05 18:39:17 +01:00
|
|
|
|
|
|
|
|
<!-- Podcasts -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_newest_podcasts_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
style="@style/Divider"
|
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
android:layout_marginBottom="12dp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:text="@string/home_title_newest_podcasts" />
|
|
|
|
|
|
|
|
|
|
<!-- slideview -->
|
|
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
|
|
|
android:id="@+id/newest_podcasts_view_pager"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="258dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingBottom="8dp" />
|
|
|
|
|
</LinearLayout>
|
2020-11-20 15:38:08 +01:00
|
|
|
</LinearLayout>
|
2021-08-27 16:09:56 +02:00
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
2020-11-20 15:38:08 +01:00
|
|
|
|