2020-11-20 15:38:08 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-04-24 11:45:53 +02:00
|
|
|
<androidx.core.widget.NestedScrollView 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-04-14 14:55:28 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
app:layout_behavior="@string/hide_bottom_view_on_scroll_behavior">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-04-14 14:55:28 +02:00
|
|
|
<LinearLayout
|
2021-04-19 17:38:34 +02:00
|
|
|
android:id="@+id/home_linear_layout_container"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingBottom="@dimen/global_padding_bottom">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-04-14 14:55:28 +02:00
|
|
|
<!-- Discover music -->
|
2020-11-20 15:38:08 +01:00
|
|
|
<LinearLayout
|
2021-04-19 17:38:34 +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-04-14 14:55:28 +02:00
|
|
|
android:orientation="vertical">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-04-29 11:03:43 +02:00
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-10 15:47:50 +02:00
|
|
|
android:clipChildren="false"
|
2021-04-29 11:03:43 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="8dp"
|
2021-08-10 15:47:50 +02:00
|
|
|
android:paddingEnd="8dp">
|
2021-04-29 11:03:43 +02:00
|
|
|
|
|
|
|
|
<TextView
|
2021-08-10 15:42:39 +02:00
|
|
|
android:id="@+id/music_discovery_text_view_refreshable"
|
2021-04-29 11:03:43 +02:00
|
|
|
style="@style/HeadlineTextView"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-10 15:47:50 +02:00
|
|
|
android:layout_marginBottom="8dp"
|
2021-04-29 11:03:43 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:text="Music discovery" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/home_settings_image_view"
|
|
|
|
|
android:layout_width="22dp"
|
|
|
|
|
android:layout_height="22dp"
|
2021-08-10 15:47:50 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2021-04-29 11:03:43 +02:00
|
|
|
android:layout_marginStart="8dp"
|
2021-08-10 15:47:50 +02:00
|
|
|
android:layout_marginTop="8dp"
|
2021-04-29 11:03:43 +02:00
|
|
|
android:layout_marginEnd="8dp"
|
2021-07-17 20:48:14 +02:00
|
|
|
android:layout_marginBottom="8dp"
|
2021-04-29 11:03:43 +02:00
|
|
|
android:background="@drawable/ic_settings"
|
|
|
|
|
android:backgroundTint="@color/bottomNavIconColor"
|
|
|
|
|
android:foreground="?android:attr/selectableItemBackgroundBorderless" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
2021-04-14 14:55:28 +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" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
2021-08-17 14:46:10 +02:00
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_discovery_placeholder"
|
|
|
|
|
layout="@layout/item_placehoder_discovery"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
2021-08-17 16:17:41 +02:00
|
|
|
<!-- Similar tracks -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_similar_tracks_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/similar_tracks_text_view_refreshable"
|
|
|
|
|
style="@style/HeadlineTextView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="20dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:text="Made for you" />
|
|
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_similar_tracks_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_album"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
2021-07-27 12:10:28 +02:00
|
|
|
<!-- Most played albums -->
|
2021-04-14 14:55:28 +02:00
|
|
|
<LinearLayout
|
2021-07-27 12:10:28 +02:00
|
|
|
android:id="@+id/home_most_played_albums_sector"
|
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"
|
|
|
|
|
android:visibility="gone">
|
2021-04-14 14:55:28 +02:00
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
2020-11-20 15:38:08 +01:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
|
|
|
|
<TextView
|
2021-08-10 15:42:39 +02:00
|
|
|
android:id="@+id/most_played_albums_text_view_refreshable"
|
2021-04-24 11:45:53 +02:00
|
|
|
style="@style/HeadlineTextView"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="0dp"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2021-04-24 11:45:53 +02:00
|
|
|
android:text="Most played" />
|
2020-11-20 15:38:08 +01:00
|
|
|
|
|
|
|
|
|
2021-04-14 14:55:28 +02:00
|
|
|
<TextView
|
2021-07-27 12:10:28 +02:00
|
|
|
android:id="@+id/most_played_albums_text_view_clickable"
|
2021-04-24 11:45:53 +02:00
|
|
|
style="@style/SubheadTextView"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="wrap_content"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="8dp"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:paddingTop="12dp"
|
2020-11-30 20:54:05 +01:00
|
|
|
android:paddingEnd="8dp"
|
2021-04-24 11:45:53 +02:00
|
|
|
android:text="See all" />
|
2021-04-14 14:55:28 +02:00
|
|
|
|
2020-11-30 20:54:05 +01:00
|
|
|
</LinearLayout>
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-04-14 14:55:28 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2021-07-27 12:10:28 +02:00
|
|
|
android:id="@+id/most_played_albums_recycler_view"
|
2021-04-14 14:55:28 +02:00
|
|
|
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>
|
|
|
|
|
|
2021-08-17 14:46:10 +02:00
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_most_played_albums_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_album"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
2021-07-27 12:10:28 +02:00
|
|
|
<!-- Recently played albums -->
|
2021-04-14 14:55:28 +02:00
|
|
|
<LinearLayout
|
2021-07-27 12:10:28 +02:00
|
|
|
android:id="@+id/home_recently_played_albums_sector"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
2020-11-20 15:38:08 +01:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
|
|
|
|
<TextView
|
2021-08-10 15:42:39 +02:00
|
|
|
android:id="@+id/recently_played_albums_text_view_refreshable"
|
2021-04-24 11:45:53 +02:00
|
|
|
style="@style/HeadlineTextView"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="0dp"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2021-04-24 11:45:53 +02:00
|
|
|
android:text="Last played" />
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-04-14 14:55:28 +02:00
|
|
|
|
|
|
|
|
<TextView
|
2021-07-27 12:10:28 +02:00
|
|
|
android:id="@+id/recently_played_albums_text_view_clickable"
|
2021-04-24 11:45:53 +02:00
|
|
|
style="@style/SubheadTextView"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="wrap_content"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:paddingEnd="8dp"
|
2021-04-24 11:45:53 +02:00
|
|
|
android:text="See all" />
|
2021-04-14 14:55:28 +02:00
|
|
|
|
2020-11-20 15:38:08 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2021-04-14 14:55:28 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2021-07-27 12:10:28 +02:00
|
|
|
android:id="@+id/recently_played_albums_recycler_view"
|
2021-04-19 17:38:34 +02:00
|
|
|
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>
|
|
|
|
|
|
2021-08-17 14:46:10 +02:00
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_recently_played_albums_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_album"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
2021-04-19 17:38:34 +02:00
|
|
|
<!-- Fashback -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_flashback_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<TextView
|
2021-04-24 11:45:53 +02:00
|
|
|
style="@style/HeadlineTextView"
|
2021-04-19 17:38:34 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="20dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
2021-04-24 11:45:53 +02:00
|
|
|
android:text="Flashback" />
|
2021-04-19 17:38:34 +02:00
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/years_recycler_view"
|
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"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
2021-04-19 17:38:34 +02:00
|
|
|
android:paddingStart="16dp"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:paddingTop="8dp"
|
2021-04-19 17:38:34 +02:00
|
|
|
android:paddingEnd="8dp"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:paddingBottom="8dp" />
|
|
|
|
|
</LinearLayout>
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-08-17 14:46:10 +02:00
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_flashback_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_year"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
2021-04-19 17:38:34 +02:00
|
|
|
<!-- Favorites -->
|
2021-04-14 14:55:28 +02:00
|
|
|
<LinearLayout
|
2021-07-27 16:58:38 +02:00
|
|
|
android:id="@+id/home_starred_tracks_sector"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
2020-11-30 20:54:05 +01:00
|
|
|
|
2021-04-14 14:55:28 +02:00
|
|
|
<!-- Label and button -->
|
2020-11-20 15:38:08 +01:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-04-14 14:55:28 +02:00
|
|
|
<TextView
|
2021-08-10 15:42:39 +02:00
|
|
|
android:id="@+id/starred_tracks_text_view_refreshable"
|
2021-04-24 11:45:53 +02:00
|
|
|
style="@style/HeadlineTextView"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="0dp"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_weight="1"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:paddingStart="8dp"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2021-08-04 08:34:36 +02:00
|
|
|
android:text="★ Starred tracks" />
|
2021-04-14 14:55:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
2021-07-27 16:58:38 +02:00
|
|
|
android:id="@+id/starred_tracks_text_view_clickable"
|
2021-04-24 11:45:53 +02:00
|
|
|
style="@style/SubheadTextView"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="wrap_content"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:paddingEnd="8dp"
|
2021-04-24 11:45:53 +02:00
|
|
|
android:text="See all" />
|
2021-04-14 14:55:28 +02:00
|
|
|
|
2020-11-20 15:38:08 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2021-04-14 14:55:28 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2021-07-27 16:58:38 +02:00
|
|
|
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>
|
|
|
|
|
|
2021-08-17 14:46:10 +02:00
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_starred_tracks_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_horizontal"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
2021-07-27 16:58:38 +02:00
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_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
|
2021-08-10 15:42:39 +02:00
|
|
|
android:id="@+id/starred_albums_text_view_refreshable"
|
2021-07-27 16:58:38 +02:00
|
|
|
style="@style/HeadlineTextView"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2021-08-04 08:34:36 +02:00
|
|
|
android:text="★ Starred albums" />
|
2021-07-27 16:58:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/starred_albums_text_view_clickable"
|
|
|
|
|
style="@style/SubheadTextView"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:text="See all" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/starred_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:paddingTop="8dp"
|
|
|
|
|
android:paddingBottom="8dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
2021-08-17 14:46:10 +02:00
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_starred_albums_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_horizontal"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
2021-07-27 16:58:38 +02:00
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_starred_artists_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
|
2021-08-10 15:42:39 +02:00
|
|
|
android:id="@+id/starred_artists_text_view_refreshable"
|
2021-07-27 16:58:38 +02:00
|
|
|
style="@style/HeadlineTextView"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2021-08-04 08:34:36 +02:00
|
|
|
android:text="★ Starred artists" />
|
2021-07-27 16:58:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/starred_artists_text_view_clickable"
|
|
|
|
|
style="@style/SubheadTextView"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:text="See all" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/starred_artists_recycler_view"
|
2021-04-14 14:55:28 +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
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_starred_artists_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_horizontal"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
2021-04-26 19:37:05 +02:00
|
|
|
<!-- Downloaded tracks -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_downloaded_tracks_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
|
|
|
|
|
style="@style/HeadlineTextView"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:text="Downloaded" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/downloaded_tracks_text_view_clickable"
|
|
|
|
|
style="@style/SubheadTextView"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:text="See all" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/downloaded_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" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
2021-08-17 16:17:41 +02:00
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_downloaded_tracks_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_album"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
2021-07-27 12:10:28 +02:00
|
|
|
<!-- Recently added albums -->
|
2021-04-14 14:55:28 +02:00
|
|
|
<LinearLayout
|
2021-07-27 12:10:28 +02:00
|
|
|
android:id="@+id/home_recently_added_albums_sector"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
2020-11-30 20:54:05 +01:00
|
|
|
<LinearLayout
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp">
|
2020-11-30 20:54:05 +01:00
|
|
|
|
2021-04-14 14:55:28 +02:00
|
|
|
<TextView
|
2021-08-10 15:42:39 +02:00
|
|
|
android:id="@+id/recently_added_albums_text_view_refreshable"
|
2021-04-24 11:45:53 +02:00
|
|
|
style="@style/HeadlineTextView"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="0dp"
|
2020-11-30 20:54:05 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_weight="1"
|
2020-11-30 20:54:05 +01:00
|
|
|
android:paddingStart="8dp"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2021-04-24 11:45:53 +02:00
|
|
|
android:text="Recently added" />
|
2021-04-14 14:55:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
2021-07-27 12:10:28 +02:00
|
|
|
android:id="@+id/recently_added_albums_text_view_clickable"
|
2021-04-24 11:45:53 +02:00
|
|
|
style="@style/SubheadTextView"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="wrap_content"
|
2020-11-30 20:54:05 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
2020-11-30 20:54:05 +01:00
|
|
|
android:paddingEnd="8dp"
|
2021-04-24 11:45:53 +02:00
|
|
|
android:text="See all" />
|
2021-04-14 14:55:28 +02:00
|
|
|
|
2020-11-30 20:54:05 +01:00
|
|
|
</LinearLayout>
|
2021-04-14 14:55:28 +02:00
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2021-07-27 12:10:28 +02:00
|
|
|
android:id="@+id/recently_added_albums_recycler_view"
|
2021-04-14 14:55:28 +02:00
|
|
|
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-17 14:46:10 +02:00
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/home_recently_added_albums_placeholder"
|
|
|
|
|
layout="@layout/item_placeholder_album"
|
|
|
|
|
android:visibility="gone"/>
|
2021-04-14 14:55:28 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
2020-11-20 15:38:08 +01:00
|
|
|
|