2018-07-27 18:37:33 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-08-22 23:24:07 +05:30
|
|
|
|
2018-08-30 14:59:30 +05:30
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-08-05 22:05:09 +05:30
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-08-22 23:24:07 +05:30
|
|
|
android:id="@+id/coordinator_layout"
|
2018-08-01 12:21:27 +05:30
|
|
|
android:layout_width="match_parent"
|
2018-08-05 22:05:09 +05:30
|
|
|
android:layout_height="match_parent">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2018-08-30 14:59:30 +05:30
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2018-08-22 23:24:07 +05:30
|
|
|
android:id="@+id/app_bar"
|
2018-08-01 12:21:27 +05:30
|
|
|
android:layout_width="match_parent"
|
2018-08-05 22:05:09 +05:30
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:focusable="true"
|
2018-08-01 12:21:27 +05:30
|
|
|
tools:ignore="UnusedAttribute">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2018-08-30 14:59:30 +05:30
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
2018-08-05 22:05:09 +05:30
|
|
|
android:id="@+id/collapsing_toolbar"
|
|
|
|
android:layout_width="match_parent"
|
2018-08-08 13:33:38 +05:30
|
|
|
android:layout_height="196dp"
|
2018-08-05 22:05:09 +05:30
|
|
|
app:contentScrim="?attr/colorPrimary"
|
|
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed"
|
|
|
|
app:statusBarScrim="?attr/colorPrimary"
|
|
|
|
app:titleEnabled="false">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2018-08-05 22:05:09 +05:30
|
|
|
<ImageView
|
|
|
|
android:id="@+id/image"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scaleType="centerCrop"
|
2018-08-30 14:59:30 +05:30
|
|
|
app:layout_collapseMode="none"
|
2018-08-05 22:05:09 +05:30
|
|
|
tools:ignore="ContentDescription" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2018-08-30 14:59:30 +05:30
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_collapseMode="pin">
|
|
|
|
|
|
|
|
<include layout="@layout/status_bar" />
|
|
|
|
|
|
|
|
<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.AppBarLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
|
android:id="@+id/container"
|
2018-08-05 22:05:09 +05:30
|
|
|
android:layout_width="match_parent"
|
2018-08-22 23:24:07 +05:30
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@drawable/bg_circular_top_corners"
|
2018-08-05 22:05:09 +05:30
|
|
|
android:elevation="@dimen/card_elevation"
|
|
|
|
app:behavior_overlapTop="24dp"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2018-08-30 14:59:30 +05:30
|
|
|
<RelativeLayout
|
2018-08-05 22:05:09 +05:30
|
|
|
android:layout_width="match_parent"
|
2018-08-30 14:59:30 +05:30
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<include layout="@layout/retro_backdrop" />
|
|
|
|
|
|
|
|
<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">
|
|
|
|
|
|
|
|
<include layout="@layout/abs_playlists" />
|
2018-08-05 22:05:09 +05:30
|
|
|
|
2018-08-30 14:59:30 +05:30
|
|
|
<include layout="@layout/home_section_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
2018-08-05 22:05:09 +05:30
|
|
|
|
2018-08-22 23:24:07 +05:30
|
|
|
|
2018-08-30 14:59:30 +05:30
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|