100 lines
4.2 KiB
XML
100 lines
4.2 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:id="@+id/root"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/artistImage"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop"
|
|
android:transitionName="@string/transition_artist_image" />
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@android:color/transparent">
|
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
|
android:id="@+id/collapsingToolbarLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@android:color/transparent"
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed"
|
|
app:titleEnabled="false">
|
|
|
|
<code.name.monkey.retromusic.views.WidthFitSquareLayout
|
|
android:id="@+id/imageContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_collapseMode="parallax" />
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
style="@style/Toolbar"
|
|
app:layout_collapseMode="pin" />
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:id="@+id/contentContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="fill_vertical"
|
|
android:layout_marginStart="96dp"
|
|
android:layout_marginEnd="96dp"
|
|
android:background="@drawable/bg_bottom_sheet_dialog_fragment"
|
|
android:fillViewport="true"
|
|
android:overScrollMode="never"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:elevation="@dimen/card_elevation"
|
|
android:orientation="vertical"
|
|
tools:background="@color/md_red_500">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="12dp">
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
|
|
android:id="@+id/artistTitle"
|
|
style="@style/TextAppearance.MaterialComponents.Headline4"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:maxLines="2"
|
|
tools:ignore="MissingPrefix"
|
|
tools:text="Title" />
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
|
|
android:id="@+id/text"
|
|
style="@style/TextAppearance.MaterialComponents.Headline6"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:ellipsize="marquee"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:freezesText="true"
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
android:scrollHorizontally="true"
|
|
android:singleLine="true"
|
|
tools:ignore="MissingPrefix"
|
|
tools:text="Title" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<include layout="@layout/activity_artist_content" />
|
|
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|