mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-22 09:55:20 +01:00
116 lines
4.4 KiB
XML
116 lines
4.4 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<FrameLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
tools:ignore="UnusedAttribute">
|
||
|
|
||
|
<include layout="@layout/status_bar"/>
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
<android.support.design.widget.CoordinatorLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<android.support.design.widget.AppBarLayout
|
||
|
android:id="@+id/appbar"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:focusable="true"
|
||
|
tools:ignore="UnusedAttribute">
|
||
|
|
||
|
<code.name.monkey.retromusic.views.SansFontCollapsingToolbarLayout
|
||
|
android:id="@+id/collapsing_toolbar"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="96dp"
|
||
|
app:collapsedTitleTextAppearance="@style/CollapsedTitleAppearance"
|
||
|
app:expandedTitleGravity="top"
|
||
|
app:expandedTitleMarginStart="16dp"
|
||
|
app:expandedTitleMarginTop="48dp"
|
||
|
app:expandedTitleTextAppearance="@style/ExpandedTitleAppearance"
|
||
|
app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
||
|
|
||
|
<View
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp"
|
||
|
app:layout_collapseMode="parallax"
|
||
|
app:layout_collapseParallaxMultiplier="0.7"/>
|
||
|
|
||
|
<android.support.v7.widget.Toolbar
|
||
|
android:id="@+id/home_toolbar"
|
||
|
style="@style/Toolbar"
|
||
|
tools:ignore="UnusedAttribute">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="center_vertical"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<code.name.monkey.retromusic.views.IconImageView
|
||
|
android:id="@+id/search"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_weight="0"
|
||
|
android:padding="16dp"
|
||
|
android:src="@drawable/ic_search_white_24dp"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/title"
|
||
|
fontPath="@string/circular_std_black"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_weight="1"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/app_name"
|
||
|
android:textAppearance="@style/TextAppearance.AppCompat.Title"
|
||
|
android:textColor="?android:attr/textColorPrimary"
|
||
|
tools:ignore="MissingPrefix"/>
|
||
|
|
||
|
<code.name.monkey.retromusic.views.CircularImageView
|
||
|
android:id="@+id/user_image"
|
||
|
android:layout_width="36dp"
|
||
|
android:layout_height="36dp"
|
||
|
android:layout_weight="0"
|
||
|
android:layout_marginEnd="16dp"
|
||
|
app:civ_border="false"/>
|
||
|
</LinearLayout>
|
||
|
</android.support.v7.widget.Toolbar>
|
||
|
</code.name.monkey.retromusic.views.SansFontCollapsingToolbarLayout>
|
||
|
</android.support.design.widget.AppBarLayout>
|
||
|
|
||
|
<android.support.v4.widget.NestedScrollView
|
||
|
android:id="@+id/nested_scroll"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="128dp"
|
||
|
android:layout_marginEnd="128dp"
|
||
|
app:behavior_overlapTop="24dp"
|
||
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="4dp"
|
||
|
android:background="@drawable/bg_bottom_sheet_dialog_fragment"
|
||
|
android:descendantFocusability="blocksDescendants"
|
||
|
android:elevation="@dimen/card_elevation"
|
||
|
android:focusable="true"
|
||
|
android:focusableInTouchMode="true"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<include layout="@layout/abs_playlists"/>
|
||
|
|
||
|
<include layout="@layout/home_section_content"/>
|
||
|
</LinearLayout>
|
||
|
</android.support.v4.widget.NestedScrollView>
|
||
|
</android.support.design.widget.CoordinatorLayout>
|
||
|
</LinearLayout>
|