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"
|
2024-03-23 22:41:44 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-11-20 15:38:08 +01:00
|
|
|
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
|
|
|
|
2023-07-01 18:11:44 +02:00
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/toolbar_fragment"
|
|
|
|
|
android:name="com.cappielloantonio.tempo.ui.fragment.ToolbarFragment"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
2023-07-01 18:11:44 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2021-04-27 11:47:23 +02:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
|
|
android:id="@+id/fragment_library_nested_scroll_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
2021-08-17 14:46:10 +02:00
|
|
|
|
2020-11-20 15:38:08 +01:00
|
|
|
<LinearLayout
|
2022-01-14 09:43:22 +01:00
|
|
|
android:id="@+id/library_linear_layout_container"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:paddingBottom="@dimen/global_padding_bottom">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2023-05-27 11:57:59 +02:00
|
|
|
<!-- Music Folder -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/library_music_folder_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingBottom="8dp"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2023-05-27 11:57:59 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/TitleLarge"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
2023-06-04 12:09:40 +02:00
|
|
|
android:paddingTop="16dp"
|
2023-05-27 11:57:59 +02:00
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:text="@string/library_title_music_folder" />
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/music_folder_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
2023-07-02 19:55:05 +02:00
|
|
|
android:nestedScrollingEnabled="false"
|
2023-05-27 11:57:59 +02:00
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingStart="16dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="8dp"
|
2023-05-27 11:57:59 +02:00
|
|
|
android:paddingEnd="8dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingBottom="8dp" />
|
2023-05-27 11:57:59 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2022-01-14 09:43:22 +01:00
|
|
|
<!-- Album -->
|
2020-11-20 15:38:08 +01:00
|
|
|
<LinearLayout
|
2021-08-27 16:09:56 +02:00
|
|
|
android:id="@+id/library_album_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"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2021-04-27 11:47:23 +02:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<!-- Album -->
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
2021-04-27 11:47:23 +02:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:orientation="horizontal"
|
2021-04-27 11:47:23 +02:00
|
|
|
android:paddingStart="8dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/album_catalogue_sample_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:paddingEnd="8dp"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/library_title_album" />
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/album_catalogue_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:paddingEnd="8dp"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/library_title_album_see_all_button" />
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/album_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="8dp"
|
2021-04-27 11:47:23 +02:00
|
|
|
android:paddingEnd="8dp"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:paddingBottom="8dp" />
|
2020-11-20 15:38:08 +01:00
|
|
|
</LinearLayout>
|
2021-04-27 11:47:23 +02:00
|
|
|
|
2020-11-20 15:38:08 +01:00
|
|
|
<LinearLayout
|
2021-08-27 16:09:56 +02:00
|
|
|
android:id="@+id/library_artist_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"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2020-11-25 08:21:30 +01:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<!-- Artist -->
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
2021-04-27 11:47:23 +02:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:orientation="horizontal"
|
2021-04-27 11:47:23 +02:00
|
|
|
android:paddingStart="8dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/artist_catalogue_sample_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:paddingEnd="8dp"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/library_title_artist" />
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/artist_catalogue_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:paddingEnd="8dp"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/library_title_artist_see_all_button" />
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/artist_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="8dp"
|
2021-04-27 11:47:23 +02:00
|
|
|
android:paddingEnd="8dp"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:paddingBottom="8dp" />
|
2020-11-20 15:38:08 +01:00
|
|
|
</LinearLayout>
|
2021-04-27 11:47:23 +02:00
|
|
|
|
2020-11-20 15:38:08 +01:00
|
|
|
<LinearLayout
|
2021-08-27 16:09:56 +02:00
|
|
|
android:id="@+id/library_genres_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"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible">
|
2021-04-27 11:47:23 +02:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<!-- Genre -->
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
2021-04-27 11:47:23 +02:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:orientation="horizontal"
|
2021-04-27 11:47:23 +02:00
|
|
|
android:paddingStart="8dp"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/genre_catalogue_sample_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:paddingEnd="8dp"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/library_title_genre" />
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/genre_catalogue_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:paddingEnd="8dp"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/library_title_genre_see_all_button" />
|
2021-08-27 16:09:56 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/genre_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp" />
|
|
|
|
|
</LinearLayout>
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/library_playlist_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">
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
<!-- Playlist -->
|
|
|
|
|
<!-- 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"
|
2024-03-23 22:41:44 +01:00
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/playlist_catalogue_sample_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:paddingEnd="8dp"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/library_title_playlist" />
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/playlist_catalogue_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:paddingEnd="8dp"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/library_title_playlist_see_all_button" />
|
2021-08-27 16:09:56 +02:00
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
2022-01-13 17:45:16 +01:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/playlist_recycler_view"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="match_parent"
|
2022-01-13 17:45:16 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
2023-07-02 19:55:05 +02:00
|
|
|
android:nestedScrollingEnabled="false"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingBottom="8dp" />
|
2020-11-20 15:38:08 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
2021-08-27 16:09:56 +02:00
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|