2018-08-05 16:35:09 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-11-05 13:53:07 +00:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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-11-05 13:53:07 +00:00
|
|
|
android:id="@+id/coordinator_layout"
|
2018-08-05 16:35:09 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:layout_height="match_parent">
|
2018-08-05 16:35:09 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/app_bar"
|
2018-08-05 16:35:09 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:elevation="0dp"
|
|
|
|
android:focusable="true"
|
|
|
|
app:elevation="0dp"
|
|
|
|
tools:ignore="UnusedAttribute">
|
2018-08-08 08:03:38 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
<!--<com.google.android.material.appbar.CollapsingToolbarLayout
|
|
|
|
android:id="@+id/collapsing_toolbar"
|
2018-08-05 16:35:09 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:layout_height="196dp"
|
|
|
|
app:contentScrim="?attr/colorPrimary"
|
|
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed"
|
|
|
|
app:statusBarScrim="?attr/colorPrimary"
|
|
|
|
app:titleEnabled="false">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/image"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
app:layout_collapseMode="parallax"
|
|
|
|
tools:ignore="ContentDescription" />
|
2018-08-08 08:03:38 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
<LinearLayout
|
2018-08-08 08:03:38 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_collapseMode="pin">
|
2018-08-22 17:54:07 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
<FrameLayout
|
2018-08-22 17:54:07 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:elevation="0dp"
|
|
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
|
|
|
|
<include layout="@layout/status_bar" />
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/home_toolbar"
|
|
|
|
style="@style/Toolbar"
|
|
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/app_name"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Title"
|
|
|
|
tools:ignore="MissingPrefix" />
|
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.CircularImageView
|
|
|
|
android:id="@+id/user_image"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="36dp"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
app:civ_border="false" />
|
|
|
|
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>-->
|
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
|
|
|
android:id="@+id/collapsing_toolbar"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-11-05 13:53:07 +00:00
|
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
|
|
|
app:titleEnabled="false">
|
2018-08-08 08:03:38 +00:00
|
|
|
|
2018-09-09 19:44:46 +00:00
|
|
|
<LinearLayout
|
2018-08-08 08:03:38 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:orientation="vertical">
|
2018-08-22 17:54:07 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<include layout="@layout/status_bar" />
|
|
|
|
</FrameLayout>
|
2018-08-22 17:54:07 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
style="@style/Toolbar48"
|
|
|
|
app:layout_collapseMode="pin"
|
|
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
style="@style/BigTitleTextAppearance"
|
|
|
|
android:text="@string/app_name" />
|
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.CircularImageView
|
|
|
|
android:id="@+id/user_image"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="36dp"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
app:civ_border="false" />
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
2018-09-09 19:44:46 +00:00
|
|
|
</LinearLayout>
|
2018-11-05 13:53:07 +00:00
|
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
|
android:id="@+id/container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@drawable/bg_circular_top_corners"
|
|
|
|
app:behavior_overlapTop="24dp"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/content_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:descendantFocusability="blocksDescendants"
|
|
|
|
android:focusable="true"
|
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:id="@+id/image_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="4dp"
|
|
|
|
app:cardCornerRadius="8dp"
|
|
|
|
app:cardUseCompatPadding="true">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/image"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="196dp"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
app:layout_collapseMode="parallax"
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
|
|
<include layout="@layout/abs_playlists" />
|
|
|
|
|
|
|
|
<include layout="@layout/home_section_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|