149 lines
No EOL
6.3 KiB
XML
149 lines
No EOL
6.3 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/artist_image"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop"
|
|
android:transitionName="@string/transition_album_art" />
|
|
|
|
<View
|
|
android:id="@+id/gradient_background"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="bottom"
|
|
android:background="@drawable/shadow_up_home" />
|
|
|
|
<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: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/image_container"
|
|
android:layout_width="320dp"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
style="@style/Toolbar48" />
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="fill_vertical"
|
|
android:layout_marginStart="128dp"
|
|
android:layout_marginEnd="128dp"
|
|
android:fillViewport="true"
|
|
android:overScrollMode="never"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/bg_bottom_sheet_dialog_fragment"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="28dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingEnd="28dp">
|
|
|
|
<code.name.monkey.retromusic.views.WidthFitSquareLayout
|
|
android:layout_width="228dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/image"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop"
|
|
android:transitionName="@string/transition_album_art" />
|
|
</code.name.monkey.retromusic.views.WidthFitSquareLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
|
|
android:id="@+id/title"
|
|
fontPath="@string/circular_std_black"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:maxLines="2"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Title"
|
|
android:transitionName="@string/transition_album_name"
|
|
tools:ignore="MissingPrefix" />
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
|
|
android:id="@+id/text"
|
|
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:paddingTop="4dp"
|
|
android:scrollHorizontally="true"
|
|
android:singleLine="true"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
|
android:transitionName="@string/transition_album_text"
|
|
tools:ignore="MissingPrefix"
|
|
tools:text="Title" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<include layout="@layout/activity_album_content" />
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/action_shuffle_all"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|end"
|
|
android:layout_margin="16dp"
|
|
android:text="@string/shuffle"
|
|
android:textAllCaps="false"
|
|
app:backgroundTint="@color/md_red_500"
|
|
app:cornerRadius="25dp"
|
|
app:icon="@drawable/ic_shuffle_white_24dp"
|
|
app:iconGravity="start"
|
|
app:iconPadding="12dp"
|
|
app:layout_dodgeInsetEdges="all" />
|
|
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="72dp"
|
|
android:background="@drawable/shadow_down_strong" />
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |