2023-05-06 19:27:14 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2024-03-23 22:41:44 +01:00
|
|
|
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2023-05-06 19:27:14 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2024-03-23 22:41:44 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2023-05-06 19:27:14 +02:00
|
|
|
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">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_linear_layout_container"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingBottom="@dimen/global_padding_bottom">
|
|
|
|
|
|
|
|
|
|
<!-- Download/Sync starred -->
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
|
android:id="@+id/home_sync_starred_card"
|
|
|
|
|
style="?attr/materialCardViewOutlinedStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginHorizontal="16dp"
|
2023-05-06 19:30:45 +02:00
|
|
|
android:layout_marginTop="16dp"
|
2023-05-06 19:27:14 +02:00
|
|
|
android:layout_marginBottom="24dp"
|
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingHorizontal="20dp"
|
|
|
|
|
android:paddingVertical="12dp">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<!-- Title, secondary and supporting text -->
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/home_sync_starred_title"
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/home_sync_starred_title"
|
|
|
|
|
android:textAppearance="?attr/textAppearanceTitleMedium"
|
|
|
|
|
android:textFontWeight="600"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/vertical_guideline"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/home_sync_starred_subtitle"
|
|
|
|
|
style="@style/TitleMedium"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/home_sync_starred_subtitle"
|
|
|
|
|
android:textAppearance="?attr/textAppearanceBodyMedium"
|
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/home_sync_starred_title" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/home_sync_starred_tracks_to_sync"
|
|
|
|
|
style="@style/TitleSmall"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:text="@string/home_sync_starred_subtitle"
|
|
|
|
|
android:textAppearance="?attr/textAppearanceBodyMedium"
|
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/home_sync_starred_subtitle" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:gravity="end"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/home_sync_starred_tracks_to_sync">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
android:id="@+id/home_sync_starred_cancel"
|
|
|
|
|
style="?attr/materialButtonOutlinedStyle"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
|
android:text="@string/home_sync_starred_cancel" />
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
android:id="@+id/home_sync_starred_download"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/home_sync_starred_download" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Guideline
|
|
|
|
|
android:id="@+id/vertical_guideline"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
app:layout_constraintGuide_percent="0.90" />
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
|
|
|
|
<!-- Discover music -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_discover_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
2023-06-30 18:23:12 +02:00
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
2023-05-06 19:27:14 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2023-06-30 18:23:12 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
2023-05-06 19:30:45 +02:00
|
|
|
android:paddingTop="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2023-06-30 18:23:12 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/discovery_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_discovery" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/discovery_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_discovery_shuffle_all_button" />
|
|
|
|
|
</LinearLayout>
|
2023-05-06 19:27:14 +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:paddingTop="8dp"
|
|
|
|
|
android:paddingBottom="16dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- Similar tracks -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_similar_tracks_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/similar_tracks_pre_text_view"
|
|
|
|
|
style="@style/TitleMedium"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
2023-05-06 19:27:14 +02:00
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:text="@string/home_subtitle_made_for_you"
|
|
|
|
|
android:textAllCaps="true" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/similar_tracks_text_view_refreshable"
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:text="@string/home_title_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>
|
|
|
|
|
|
|
|
|
|
<!-- Best of -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_best_of_artist_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/most_streamed_song_pre_text_view"
|
|
|
|
|
style="@style/TitleMedium"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
2023-05-06 19:27:14 +02:00
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:text="@string/home_subtitle_best_of"
|
|
|
|
|
android:textAllCaps="true" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/best_of_artist_text_view_refreshable"
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:text="@string/home_title_best_of" />
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/best_of_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>
|
|
|
|
|
|
|
|
|
|
<!-- Radio Artist -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_radio_artist_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/radio_artist_text_view_refreshable"
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
2023-05-06 19:27:14 +02:00
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:text="@string/home_title_radio_station" />
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<View
|
2023-06-04 11:32:37 +02:00
|
|
|
android:id="@+id/after_radio_artist_divider"
|
2023-05-06 19:27:14 +02:00
|
|
|
style="@style/Divider"
|
|
|
|
|
android:layout_marginStart="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:layout_marginTop="16dp"
|
2023-05-06 19:27:14 +02:00
|
|
|
android:layout_marginEnd="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible" />
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<!-- Grid tracks -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_grid_tracks_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2023-08-25 15:36:55 +02:00
|
|
|
android:orientation="vertical"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<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"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
2023-05-06 19:27:14 +02:00
|
|
|
android:paddingEnd="16dp"
|
2023-08-06 22:39:57 +02:00
|
|
|
android:text="@string/home_title_last_week"
|
2023-05-06 19:27:14 +02:00
|
|
|
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"
|
2023-08-06 22:39:57 +02:00
|
|
|
android:text="@string/home_title_top_songs" />
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<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"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:layout_marginTop="16dp"
|
2023-05-06 19:27:14 +02:00
|
|
|
android:layout_marginEnd="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible" />
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<!-- Favorites -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/starred_tracks_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/starred_albums_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/starred_albums_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_albums" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/starred_albums_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_albums_see_all_button" />
|
|
|
|
|
</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>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/starred_artists_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/starred_artists_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_artists" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/starred_artists_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_artists_see_all_button" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/starred_artists_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>
|
|
|
|
|
|
|
|
|
|
<View
|
2023-06-04 12:09:40 +02:00
|
|
|
android:id="@+id/after_favorites_divider"
|
2023-05-06 19:27:14 +02:00
|
|
|
style="@style/Divider"
|
|
|
|
|
android:layout_marginStart="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:layout_marginTop="16dp"
|
2023-05-06 19:27:14 +02:00
|
|
|
android:layout_marginEnd="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible" />
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_new_releases_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<!-- New releases -->
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
2023-05-06 19:27:14 +02: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"
|
|
|
|
|
android:paddingBottom="8dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- Fashback -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_flashback_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
2023-05-06 19:27:14 +02:00
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:text="@string/home_title_flashback" />
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/years_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>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
style="@style/Divider"
|
|
|
|
|
android:layout_marginStart="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:layout_marginTop="16dp"
|
2023-05-06 19:27:14 +02:00
|
|
|
android:layout_marginEnd="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible" />
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<!-- 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"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<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: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: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>
|
|
|
|
|
|
|
|
|
|
<!-- Recently played albums -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_recently_played_albums_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<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: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: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>
|
|
|
|
|
|
|
|
|
|
<!-- Recently added albums -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/home_recently_added_albums_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2023-05-06 19:27:14 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/recently_added_albums_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_recently_added" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/recently_added_albums_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_recently_added_see_all_button" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/recently_added_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>
|
|
|
|
|
|
2023-09-17 16:40:41 +02:00
|
|
|
<!-- Shares -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/shares_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2023-09-17 18:51:22 +02:00
|
|
|
android:orientation="vertical"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-09-17 16:40:41 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/shares_text_view_refreshable"
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
2023-09-17 16:40:41 +02:00
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:text="@string/home_title_shares" />
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/shares_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>
|
|
|
|
|
|
2024-03-23 21:33:11 +01:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/home_sector_rearrangement_button"
|
|
|
|
|
style="@style/Widget.Material3.Button.TextButton"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:text="@string/home_option_reorganize"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible"/>
|
2023-05-06 19:27:14 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
|