PlayerAndroid/app/src/main/res/layout-xlarge/activity_album.xml

179 lines
7.9 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2018-08-30 09:29:30 +00:00
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-07-27 13:07:33 +00:00
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">
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatImageView
2018-07-27 13:07:33 +00:00
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" />
2018-08-30 09:29:30 +00:00
<com.google.android.material.appbar.AppBarLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent">
2018-08-30 09:29:30 +00:00
<com.google.android.material.appbar.CollapsingToolbarLayout
2018-07-27 13:07:33 +00:00
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" />
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.Toolbar
2018-07-27 13:07:33 +00:00
android:id="@+id/toolbar"
style="@style/Toolbar48"
app:layout_collapseMode="pin"
app:title="" />
2018-08-30 09:29:30 +00:00
</com.google.android.material.appbar.CollapsingToolbarLayout>
</com.google.android.material.appbar.AppBarLayout>
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<androidx.core.widget.NestedScrollView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="fill_vertical"
android:layout_marginStart="96dp"
2018-08-30 09:29:30 +00:00
android:layout_marginEnd="96dp"
2018-07-27 13:07:33 +00:00
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="match_parent"
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"
2018-08-30 09:29:30 +00:00
android:padding="16dp">
2018-07-27 13:07:33 +00:00
<code.name.monkey.retromusic.views.WidthFitSquareLayout
android:layout_width="196dp"
android:layout_height="wrap_content"
android:layout_weight="0">
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatImageView
2018-07-27 13:07:33 +00:00
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"
2018-08-30 09:29:30 +00:00
android:paddingStart="16dp"
android:paddingEnd="16dp">
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatTextView
2018-07-27 13:07:33 +00:00
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.Display1"
tools:ignore="MissingPrefix" />
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatTextView
2018-07-27 13:07:33 +00:00
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:scrollHorizontally="true"
android:singleLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
tools:ignore="MissingPrefix"
tools:text="Title" />
</LinearLayout>
</LinearLayout>
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatTextView
2018-07-27 13:07:33 +00:00
android:id="@+id/song_title"
fontPath="@string/circular_std_black"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="24dp"
android:paddingTop="12dp"
2018-08-30 09:29:30 +00:00
android:paddingEnd="24dp"
android:paddingBottom="12dp"
2018-07-27 13:07:33 +00:00
android:text="@string/songs"
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
android:textColor="?android:attr/textColorPrimary"
tools:ignore="MissingPrefix" />
2018-08-30 09:29:30 +00:00
<androidx.recyclerview.widget.RecyclerView
2018-07-27 13:07:33 +00:00
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:fadeScrollbars="true"
android:requiresFadingEdge="vertical"
android:scrollbarStyle="outsideOverlay"
android:scrollbars="vertical" />
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:id="@+id/more_title"
fontPath="@string/circular_std_black"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="16dp"
android:paddingTop="12dp"
2018-08-30 09:29:30 +00:00
android:paddingEnd="16dp"
android:paddingBottom="12dp"
2018-07-27 13:07:33 +00:00
android:text="@string/songs"
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
android:visibility="gone"
tools:ignore="MissingPrefix" />
2018-08-30 09:29:30 +00:00
<androidx.recyclerview.widget.RecyclerView
2018-07-27 13:07:33 +00:00
android:id="@+id/more_recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:nestedScrollingEnabled="false"
android:visibility="gone" />
</LinearLayout>
2018-08-30 09:29:30 +00:00
</androidx.core.widget.NestedScrollView>
2018-07-27 13:07:33 +00:00
<View
android:layout_width="match_parent"
android:layout_height="72dp"
android:background="@drawable/shadow_down_strong" />
2018-08-30 09:29:30 +00:00
<com.google.android.material.floatingactionbutton.FloatingActionButton
2018-07-27 13:07:33 +00:00
android:id="@+id/action_shuffle_all"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end|bottom"
android:layout_margin="16dp"
app:srcCompat="@drawable/ic_shuffle_white_24dp" />
2018-08-30 09:29:30 +00:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>