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"
|
|
|
|
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"
|
|
|
|
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"
|
|
|
|
app:navigationIcon="@drawable/ic_keyboard_backspace_black_24dp" />
|
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/cab_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="48dp" />
|
|
|
|
</FrameLayout>
|
2018-08-30 09:29:30 +00:00
|
|
|
|
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
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
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
|
|
|
|
2019-11-08 15:38:34 +00:00
|
|
|
<code.name.monkey.retromusic.views.WidthFitSquareCardView
|
|
|
|
android:id="@+id/albumCoverContainer"
|
2018-08-08 08:03:38 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-11-08 15:38:34 +00:00
|
|
|
android:transitionName="@string/transition_album_art"
|
|
|
|
app:cardCornerRadius="24dp"
|
|
|
|
app:cardElevation="8dp"
|
|
|
|
app:cardUseCompatPadding="true"
|
|
|
|
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"
|
|
|
|
tools:srcCompat="@tools:sample/backgrounds/scenic[5]" />
|
|
|
|
|
|
|
|
</code.name.monkey.retromusic.views.WidthFitSquareCardView>
|
|
|
|
|
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.CircularImageView
|
|
|
|
android:id="@+id/artistImage"
|
|
|
|
android:layout_width="52dp"
|
|
|
|
android:layout_height="52dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_weight="0"
|
|
|
|
app:civ_border="false"
|
|
|
|
app:civ_shadow="false"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/albumCoverContainer"
|
|
|
|
tools:srcCompat="@tools:sample/backgrounds/scenic[11]" />
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/albumTitle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:maxLines="3"
|
|
|
|
android:textAppearance="@style/TextViewHeadline6"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/artistImage"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/artistImage"
|
|
|
|
tools:ignore="MissingPrefix"
|
|
|
|
tools:text="@tools:sample/lorem/random" />
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/albumText"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="@style/TextViewSubtitle2"
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/artistImage"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/albumTitle"
|
|
|
|
tools:ignore="MissingPrefix"
|
|
|
|
tools:text="@tools:sample/lorem/random" />
|
|
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
layout="@layout/activity_album_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/albumText" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
</LinearLayout>
|