mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
273 lines
No EOL
12 KiB
XML
273 lines
No EOL
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<fragment
|
|
android:id="@+id/toolbar_fragment"
|
|
android:name="com.cappielloantonio.tempo.ui.fragment.ToolbarFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<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">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/library_linear_layout_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="@dimen/global_padding_bottom">
|
|
|
|
<!-- Music Folder -->
|
|
<LinearLayout
|
|
android:id="@+id/library_music_folder_sector"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="8dp"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<TextView
|
|
style="@style/TitleLarge"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="16dp"
|
|
android:paddingTop="16dp"
|
|
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"
|
|
android:nestedScrollingEnabled="false"
|
|
android:clipToPadding="false"
|
|
android:paddingStart="16dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingEnd="8dp"
|
|
android:paddingBottom="8dp" />
|
|
</LinearLayout>
|
|
|
|
<!-- Album -->
|
|
<LinearLayout
|
|
android:id="@+id/library_album_sector"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<!-- Album -->
|
|
<!-- Label and button -->
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="8dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingEnd="8dp"
|
|
android:paddingBottom="8dp">
|
|
|
|
<TextView
|
|
android:id="@+id/album_catalogue_sample_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/library_title_album" />
|
|
|
|
<TextView
|
|
android:id="@+id/album_catalogue_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/library_title_album_see_all_button" />
|
|
|
|
</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"
|
|
android:paddingEnd="8dp"
|
|
android:paddingBottom="8dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/library_artist_sector"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<!-- Artist -->
|
|
<!-- Label and button -->
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="8dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingEnd="8dp"
|
|
android:paddingBottom="8dp">
|
|
|
|
<TextView
|
|
android:id="@+id/artist_catalogue_sample_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/library_title_artist" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/artist_catalogue_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/library_title_artist_see_all_button" />
|
|
|
|
</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"
|
|
android:paddingEnd="8dp"
|
|
android:paddingBottom="8dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/library_genres_sector"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<!-- Genre -->
|
|
<!-- Label and button -->
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="8dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingEnd="8dp"
|
|
android:paddingBottom="8dp">
|
|
|
|
<TextView
|
|
android:id="@+id/genre_catalogue_sample_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/library_title_genre" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/genre_catalogue_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/library_title_genre_see_all_button" />
|
|
</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>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/library_playlist_sector"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<!-- Playlist -->
|
|
<!-- Label and button -->
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="8dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingEnd="8dp"
|
|
android:paddingBottom="8dp">
|
|
|
|
<TextView
|
|
android:id="@+id/playlist_catalogue_sample_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/library_title_playlist" />
|
|
|
|
<TextView
|
|
android:id="@+id/playlist_catalogue_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/library_title_playlist_see_all_button" />
|
|
|
|
</LinearLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/playlist_recycler_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:nestedScrollingEnabled="false"
|
|
android:clipToPadding="false"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |