mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-02 18:31:40 +00:00
127 lines
No EOL
5.4 KiB
XML
127 lines
No EOL
5.4 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"
|
|
android:id="@+id/layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/appbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/appbar_header_height">
|
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
|
android:id="@+id/collapsing_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:expandedTitleMarginStart="@dimen/activity_margin_content"
|
|
app:contentScrim="?attr/colorSurface"
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed|snap">
|
|
|
|
<ImageView
|
|
android:id="@+id/podcast_channel_backdrop_image_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fitsSystemWindows="true"
|
|
android:scaleType="centerCrop"
|
|
app:layout_collapseMode="parallax" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/appbar_header_height"
|
|
android:layout_gravity="top"
|
|
android:background="@drawable/gradient_backdrop_background_image" />
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/anim_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
app:layout_collapseMode="pin" />
|
|
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:id="@+id/fragment_artist_page_nested_scroll_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:clipToPadding="false"
|
|
android:orientation="vertical"
|
|
android:paddingTop="18dp"
|
|
android:paddingBottom="@dimen/global_padding_bottom">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/podcast_channel_page_bio_sector"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="22dp">
|
|
|
|
<TextView
|
|
style="@style/TitleLarge"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="8dp"
|
|
android:text="@string/podcast_channel_page_title_description_section" />
|
|
|
|
<TextView
|
|
android:id="@+id/podcast_channel_description_text_view"
|
|
style="@style/TitleMedium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingStart="16dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingEnd="16dp" />
|
|
</LinearLayout>
|
|
|
|
<include
|
|
android:id="@+id/podcast_channel_page_description_placeholder"
|
|
layout="@layout/item_placehoder_biography"
|
|
android:visibility="gone" />
|
|
|
|
<View
|
|
android:id="@+id/upper_button_divider"
|
|
style="@style/Divider"
|
|
android:layout_marginHorizontal="16dp" />
|
|
|
|
<!-- Label and button -->
|
|
<LinearLayout
|
|
android:id="@+id/podcast_channel_page_episodes_sector"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="22dp">
|
|
|
|
<TextView
|
|
style="@style/TitleLarge"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="16dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingEnd="8dp"
|
|
android:text="@string/podcast_channel_page_title_episode_section" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/most_streamed_song_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" />
|
|
</LinearLayout>
|
|
|
|
<include
|
|
android:id="@+id/podcast_channel_page_episodes_placeholder"
|
|
layout="@layout/item_placeholder_horizontal"
|
|
android:visibility="gone" />
|
|
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |