2018-07-27 13:07:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-11-08 15:38:34 +00:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-08-08 08:03:38 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-11-08 15:38:34 +00:00
|
|
|
android:layout_height="match_parent"
|
2020-01-17 17:19:06 +00:00
|
|
|
android:background="?attr/colorSurface"
|
2019-11-08 15:38:34 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
tools:ignore="UnusedAttribute">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-11-08 15:38:34 +00:00
|
|
|
<FrameLayout
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-11-08 15:38:34 +00:00
|
|
|
android:layout_height="wrap_content">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-11-08 15:38:34 +00:00
|
|
|
<include layout="@layout/status_bar" />
|
|
|
|
</FrameLayout>
|
2018-08-08 08:03:38 +00:00
|
|
|
|
2019-11-08 15:38:34 +00:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-01-17 17:19:06 +00:00
|
|
|
android:layout_height="match_parent">
|
2018-08-08 08:03:38 +00:00
|
|
|
|
2019-11-08 15:38:34 +00:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appBarLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:liftOnScroll="true">
|
2018-08-08 08:03:38 +00:00
|
|
|
|
2019-11-26 15:27:28 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
style="@style/Toolbar"
|
2020-04-25 19:34:06 +00:00
|
|
|
android:background="?attr/colorSurface"
|
2020-07-19 21:00:30 +00:00
|
|
|
app:navigationIcon="@drawable/ic_keyboard_backspace_black" />
|
2019-11-26 15:27:28 +00:00
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/cab_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="48dp" />
|
|
|
|
</FrameLayout>
|
2019-11-08 15:38:34 +00:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2018-08-01 06:51:27 +00:00
|
|
|
|
2019-11-08 15:38:34 +00:00
|
|
|
<androidx.core.widget.NestedScrollView
|
2020-01-05 18:22:21 +00:00
|
|
|
android:id="@+id/container"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-05-11 20:48:36 +00:00
|
|
|
android:overScrollMode="never"
|
2019-11-12 17:32:30 +00:00
|
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
|
2018-08-08 08:03:38 +00:00
|
|
|
|
2019-11-08 15:38:34 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-08-08 08:03:38 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-06-23 20:14:27 +00:00
|
|
|
android:orientation="vertical">
|
2018-08-08 08:03:38 +00:00
|
|
|
|
2020-05-06 14:19:16 +00:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
2020-08-11 18:29:44 +00:00
|
|
|
android:id="@+id/artistCoverContainer"
|
2020-05-06 14:19:16 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
2020-08-11 18:29:44 +00:00
|
|
|
android:transitionName="@string/transition_artist_image"
|
2019-11-08 15:38:34 +00:00
|
|
|
app:cardCornerRadius="24dp"
|
2020-05-06 14:19:16 +00:00
|
|
|
app:layout_constraintDimensionRatio="1:1"
|
2019-11-08 15:38:34 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/image"
|
2018-08-08 08:03:38 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-11-08 15:38:34 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scaleType="centerCrop"
|
2020-08-11 18:29:44 +00:00
|
|
|
tools:srcCompat="@tools:sample/backgrounds/scenic" />
|
2019-11-08 15:38:34 +00:00
|
|
|
|
2020-05-06 14:19:16 +00:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2020-08-11 21:31:09 +00:00
|
|
|
|
2020-05-06 14:19:16 +00:00
|
|
|
<code.name.monkey.retromusic.views.BaselineGridTextView
|
2020-08-11 18:29:44 +00:00
|
|
|
android:id="@+id/artistTitle"
|
2019-11-08 15:38:34 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
2020-08-11 18:29:44 +00:00
|
|
|
android:layout_marginTop="24dp"
|
2019-11-08 15:38:34 +00:00
|
|
|
android:layout_marginEnd="16dp"
|
2020-08-11 18:29:44 +00:00
|
|
|
android:maxLines="2"
|
2020-08-11 21:31:09 +00:00
|
|
|
android:textAppearance="@style/TextViewHeadline4"
|
2020-02-26 16:49:24 +00:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
2019-11-08 15:38:34 +00:00
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-08-11 18:29:44 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/artistCoverContainer"
|
2019-11-08 15:38:34 +00:00
|
|
|
tools:ignore="MissingPrefix"
|
2020-08-11 18:29:44 +00:00
|
|
|
tools:text="@tools:sample/full_names" />
|
2019-11-08 15:38:34 +00:00
|
|
|
|
2020-05-06 14:19:16 +00:00
|
|
|
<code.name.monkey.retromusic.views.BaselineGridTextView
|
2020-08-11 18:29:44 +00:00
|
|
|
android:id="@+id/text"
|
2019-11-08 15:38:34 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:textAppearance="@style/TextViewSubtitle2"
|
2019-12-10 17:36:20 +00:00
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2019-11-08 15:38:34 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-08-11 18:29:44 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/artistTitle"
|
2019-11-08 15:38:34 +00:00
|
|
|
tools:ignore="MissingPrefix"
|
2020-08-11 18:29:44 +00:00
|
|
|
tools:text="@tools:sample/full_names" />
|
2019-11-08 15:38:34 +00:00
|
|
|
|
|
|
|
<include
|
2020-08-11 18:29:44 +00:00
|
|
|
layout="@layout/activity_artist_content"
|
2019-11-08 15:38:34 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-11 18:29:44 +00:00
|
|
|
android:layout_marginTop="16dp"
|
2019-11-08 15:38:34 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-08-11 18:29:44 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/text" />
|
|
|
|
|
2019-11-08 15:38:34 +00:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
</LinearLayout>
|