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

99 lines
4.1 KiB
XML
Raw Normal View History

2018-07-27 18:37:33 +05:30
<?xml version="1.0" encoding="utf-8"?>
2018-08-30 14:59:30 +05:30
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-07-27 18:37:33 +05:30
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 14:59:30 +05:30
<androidx.appcompat.widget.AppCompatImageView
2018-12-04 21:04:26 +05:30
android:id="@+id/artistImage"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
2019-09-28 23:22:49 +05:30
android:transitionName="@string/transition_artist_image"
tools:srcCompat="@tools:sample/backgrounds/scenic[16]" />
2018-07-27 18:37:33 +05:30
2018-08-30 14:59:30 +05:30
<com.google.android.material.appbar.AppBarLayout
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent">
2018-08-30 14:59:30 +05:30
<com.google.android.material.appbar.CollapsingToolbarLayout
android:id="@+id/collapsingToolbarLayout"
2019-06-04 23:48:27 +05:30
android:layout_width="match_parent"
2018-07-27 18:37:33 +05:30
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 21:04:26 +05:30
android:id="@+id/imageContainer"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_collapseMode="parallax" />
<code.name.monkey.appthemehelper.common.views.ATEToolbar
2018-07-27 18:37:33 +05:30
android:id="@+id/toolbar"
2018-12-04 21:04:26 +05:30
style="@style/Toolbar"
2018-07-27 18:37:33 +05:30
app:layout_collapseMode="pin" />
2018-08-30 14:59:30 +05:30
</com.google.android.material.appbar.CollapsingToolbarLayout>
</com.google.android.material.appbar.AppBarLayout>
2018-07-27 18:37:33 +05:30
2018-08-30 14:59:30 +05:30
<androidx.core.widget.NestedScrollView
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="fill_vertical"
android:layout_marginStart="96dp"
2018-11-05 19:23:07 +05:30
android:layout_marginEnd="96dp"
2018-07-27 18:37:33 +05:30
android:fillViewport="true"
android:overScrollMode="never"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
2019-06-24 01:44:27 +05:30
<com.google.android.material.card.MaterialCardView
android:id="@+id/contentContainer"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
2019-06-24 01:44:27 +05:30
android:layout_height="wrap_content"
app:cardCornerRadius="16dp"
app:cardElevation="0dp">
2018-07-27 18:37:33 +05:30
<LinearLayout
android:layout_width="match_parent"
2019-06-24 01:44:27 +05:30
android:layout_height="match_parent"
android:elevation="@dimen/card_elevation"
2019-09-28 23:22:49 +05:30
android:orientation="vertical">
2018-07-27 18:37:33 +05:30
2018-11-05 19:23:07 +05:30
2019-06-24 01:44:27 +05:30
<LinearLayout
2018-11-05 19:23:07 +05:30
android:layout_width="match_parent"
2018-07-27 18:37:33 +05:30
android:layout_height="wrap_content"
2019-06-24 01:44:27 +05:30
android:orientation="vertical"
2019-09-28 23:22:49 +05:30
android:padding="24dp">
2018-11-05 19:23:07 +05:30
2019-09-28 23:22:49 +05:30
<com.google.android.material.textview.MaterialTextView
2019-06-24 01:44:27 +05:30
android:id="@+id/artistTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="2"
2019-09-28 23:22:49 +05:30
android:textAppearance="@style/TextViewHeadline4"
2019-06-24 01:44:27 +05:30
tools:ignore="MissingPrefix"
tools:text="Title" />
2019-09-28 23:22:49 +05:30
<com.google.android.material.textview.MaterialTextView
2019-06-24 01:44:27 +05:30
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-28 23:22:49 +05:30
android:textAppearance="@style/TextViewHeadline6"
2019-06-24 01:44:27 +05:30
tools:ignore="MissingPrefix"
tools:text="Title" />
2018-07-27 18:37:33 +05:30
2019-06-24 01:44:27 +05:30
</LinearLayout>
2018-07-27 18:37:33 +05:30
2019-06-24 01:44:27 +05:30
<include layout="@layout/activity_artist_content" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
2018-08-30 14:59:30 +05:30
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>