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

107 lines
4.6 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-12-04 15:34:26 +00:00
android:id="@+id/artistImage"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:transitionName="@string/transition_artist_image" />
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
android:id="@+id/collapsingToolbarLayout"
2019-06-04 18:18:27 +00:00
android:layout_width="match_parent"
2018-07-27 13:07:33 +00:00
android:layout_height="wrap_content"
android:background="@android:color/transparent"
app:layout_scrollFlags="scroll|exitUntilCollapsed"
app:titleEnabled="false">
<code.name.monkey.retromusic.views.WidthFitSquareLayout
2018-12-04 15:34:26 +00:00
android:id="@+id/imageContainer"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_collapseMode="parallax" />
<code.name.monkey.appthemehelper.common.views.ATEToolbar
2018-07-27 13:07:33 +00:00
android:id="@+id/toolbar"
2018-12-04 15:34:26 +00:00
style="@style/Toolbar"
2018-07-27 13:07:33 +00:00
app:layout_collapseMode="pin" />
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-11-05 13:53:07 +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">
2019-06-23 20:14:27 +00:00
<com.google.android.material.card.MaterialCardView
android:id="@+id/contentContainer"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2019-06-23 20:14:27 +00:00
android:layout_height="wrap_content"
app:cardCornerRadius="16dp"
app:cardElevation="0dp">
2018-07-27 13:07:33 +00:00
<LinearLayout
android:layout_width="match_parent"
2019-06-23 20:14:27 +00:00
android:layout_height="match_parent"
android:elevation="@dimen/card_elevation"
2018-11-05 13:53:07 +00:00
android:orientation="vertical"
2019-06-23 20:14:27 +00:00
tools:background="@color/md_red_500">
2018-07-27 13:07:33 +00:00
2018-11-05 13:53:07 +00:00
2019-06-23 20:14:27 +00:00
<LinearLayout
2018-11-05 13:53:07 +00:00
android:layout_width="match_parent"
2018-07-27 13:07:33 +00:00
android:layout_height="wrap_content"
2019-06-23 20:14:27 +00:00
android:orientation="vertical"
android:padding="12dp">
2018-11-05 13:53:07 +00:00
2019-06-23 20:14:27 +00:00
<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.ATESecondaryTextView
2019-06-23 20:14:27 +00:00
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" />
2018-07-27 13:07:33 +00:00
2019-06-23 20:14:27 +00:00
</LinearLayout>
2018-07-27 13:07:33 +00:00
2019-06-23 20:14:27 +00:00
<include layout="@layout/activity_artist_content" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
2018-08-30 09:29:30 +00:00
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>