tempus/app/src/main/res/layout/fragment_library.xml

245 lines
9.5 KiB
XML
Raw Normal View History

2020-11-20 15:38:08 +01:00
<?xml version="1.0" encoding="utf-8"?>
2021-04-27 11:05:58 +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"
android:layout_height="match_parent"
2020-12-05 21:31:12 +01:00
app:layout_behavior="@string/hide_bottom_view_on_scroll_behavior">
2020-11-20 15:38:08 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-12-05 21:31:12 +01:00
android:orientation="vertical"
android:paddingBottom="@dimen/global_padding_bottom">
2020-11-20 15:38:08 +01:00
<LinearLayout
android:id="@+id/library_album_sector"
2020-11-20 15:38:08 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="8dp">
<!-- Album -->
2021-04-27 11:47:23 +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-27 11:47:23 +02:00
android:orientation="horizontal"
android:paddingStart="8dp"
android:paddingTop="8dp"
android:paddingEnd="8dp">
<TextView
android:id="@+id/album_catalogue_sample_text_view_refreshable"
2021-04-27 11:47:23 +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"
android:text="Albums" />
2020-11-20 15:38:08 +01:00
2021-04-27 11:47:23 +02:00
<TextView
android:id="@+id/album_catalogue_text_view_clickable"
style="@style/SubheadTextView"
android:layout_width="wrap_content"
2020-11-20 15:38:08 +01:00
android:layout_height="wrap_content"
android:paddingStart="8dp"
2021-04-27 11:47:23 +02:00
android:paddingTop="12dp"
2020-11-20 15:38:08 +01:00
android:paddingEnd="8dp"
2021-04-27 11:47:23 +02:00
android:text="See all" />
2020-11-20 15:38:08 +01:00
</LinearLayout>
2021-04-27 11:47:23 +02:00
<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"
android:paddingEnd="8dp"
android:paddingBottom="8dp" />
2020-11-20 15:38:08 +01:00
</LinearLayout>
<include
android:id="@+id/library_album_placeholder"
layout="@layout/item_placeholder_album"
android:visibility="gone"/>
2020-11-20 15:38:08 +01:00
<LinearLayout
android:id="@+id/library_artist_sector"
2020-11-20 15:38:08 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="8dp">
<!-- Artist -->
2021-04-27 11:47:23 +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-27 11:47:23 +02:00
android:orientation="horizontal"
android:paddingStart="8dp"
android:paddingTop="8dp"
android:paddingEnd="8dp">
<TextView
android:id="@+id/artist_catalogue_sample_text_view_refreshable"
2021-04-27 11:47:23 +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"
android:text="Artists" />
2020-11-20 15:38:08 +01:00
2021-04-27 11:47:23 +02:00
<TextView
android:id="@+id/artist_catalogue_text_view_clickable"
style="@style/SubheadTextView"
android:layout_width="wrap_content"
2020-11-20 15:38:08 +01:00
android:layout_height="wrap_content"
android:paddingStart="8dp"
2021-04-27 11:47:23 +02:00
android:paddingTop="12dp"
2020-11-20 15:38:08 +01:00
android:paddingEnd="8dp"
2021-04-27 11:47:23 +02:00
android:text="See all" />
2020-11-20 15:38:08 +01:00
</LinearLayout>
2021-04-27 11:47:23 +02:00
<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"
android:paddingEnd="8dp"
android:paddingBottom="8dp" />
2020-11-20 15:38:08 +01:00
</LinearLayout>
<include
android:id="@+id/library_artist_placeholder"
layout="@layout/item_placeholder_album"
android:visibility="gone"/>
2020-11-20 15:38:08 +01:00
<LinearLayout
android:id="@+id/library_genres_sector"
2020-11-20 15:38:08 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="8dp">
<!-- Genre -->
2021-04-27 11:47:23 +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-27 11:47:23 +02:00
android:orientation="horizontal"
android:paddingStart="8dp"
android:paddingTop="8dp"
android:paddingEnd="8dp">
<TextView
android:id="@+id/genre_catalogue_sample_text_view_refreshable"
2021-04-27 11:47:23 +02:00
style="@style/HeadlineTextView"
android:layout_width="0dp"
2020-11-20 15:38:08 +01:00
android:layout_height="wrap_content"
2021-04-27 11:47:23 +02:00
android:layout_weight="1"
2020-11-20 15:38:08 +01:00
android:paddingStart="8dp"
2021-04-27 11:47:23 +02:00
android:paddingTop="12dp"
android:paddingEnd="8dp"
android:text="Genres" />
2020-11-25 08:21:30 +01:00
2021-04-27 11:47:23 +02:00
<TextView
android:id="@+id/genre_catalogue_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" />
2020-11-20 15:38:08 +01:00
</LinearLayout>
2021-04-27 11:47:23 +02:00
<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" />
2020-11-20 15:38:08 +01:00
</LinearLayout>
<include
android:id="@+id/library_genre_placeholder"
layout="@layout/item_placeholder_genre"
android:visibility="gone"/>
2020-11-20 15:38:08 +01:00
<LinearLayout
android:id="@+id/library_playlist_sector"
2020-11-20 15:38:08 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="8dp">
<!-- Playlist -->
2021-04-27 11:47:23 +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-27 11:47:23 +02:00
android:orientation="horizontal"
android:paddingStart="8dp"
android:paddingTop="8dp"
android:paddingEnd="8dp">
<TextView
android:id="@+id/playlist_catalogue_sample_text_view_refreshable"
2021-04-27 11:47:23 +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"
android:text="Playlists" />
2020-11-20 15:38:08 +01:00
2021-04-27 11:47:23 +02:00
<TextView
android:id="@+id/playlist_catalogue_text_view_clickable"
style="@style/SubheadTextView"
android:layout_width="wrap_content"
2020-11-20 15:38:08 +01:00
android:layout_height="wrap_content"
android:paddingStart="8dp"
2021-04-27 11:47:23 +02:00
android:paddingTop="12dp"
android:paddingEnd="8dp"
android:text="See all" />
2020-11-20 15:38:08 +01:00
</LinearLayout>
2021-04-27 11:47:23 +02:00
<!-- slideview -->
<androidx.viewpager2.widget.ViewPager2
android:id="@+id/playlist_view_pager"
android:layout_width="match_parent"
android:layout_height="212dp"
android:clipToPadding="false"
android:paddingTop="8dp"
android:paddingBottom="8dp" />
2020-11-20 15:38:08 +01:00
</LinearLayout>
<include
android:id="@+id/library_playlist_placeholder"
layout="@layout/item_placeholder_album"
android:visibility="gone"/>
2020-11-20 15:38:08 +01:00
</LinearLayout>
</androidx.core.widget.NestedScrollView>