PlayerAndroid/app/src/main/res/layout-land/fragment_home.xml

104 lines
4.4 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2018-08-30 09:29:30 +00:00
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-07-27 13:07:33 +00:00
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">
2018-08-30 09:29:30 +00:00
<com.google.android.material.appbar.AppBarLayout
2018-09-09 19:44:46 +00:00
android:id="@+id/app_bar"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:ignore="UnusedAttribute">
2018-08-30 09:29:30 +00:00
<com.google.android.material.appbar.CollapsingToolbarLayout
2018-07-27 13:07:33 +00:00
android:id="@+id/collapsing_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_scrollFlags="scroll|exitUntilCollapsed"
app:statusBarScrim="?attr/colorPrimary">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_collapseMode="parallax"
app:layout_collapseParallaxMultiplier="0.7">
<ImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="228dp"
android:scaleType="centerCrop"
tools:ignore="ContentDescription" />
</FrameLayout>
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.Toolbar
2018-07-27 13:07:33 +00:00
android:id="@+id/home_toolbar"
2018-08-22 17:54:07 +00:00
style="@style/Toolbar48"
2018-07-27 13:07:33 +00:00
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"
tools:ignore="MissingPrefix" />
<code.name.monkey.retromusic.views.CircularImageView
android:id="@+id/user_image"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginEnd="16dp"
android:layout_weight="0"
app:civ_border="false" />
</LinearLayout>
2018-08-30 09:29:30 +00:00
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.CollapsingToolbarLayout>
</com.google.android.material.appbar.AppBarLayout>
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<androidx.core.widget.NestedScrollView
2018-08-08 08:03:38 +00:00
android:id="@+id/container"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-08 08:03:38 +00:00
android:layout_marginStart="64dp"
android:layout_marginEnd="64dp"
2018-08-22 17:54:07 +00:00
android:background="@drawable/bg_circular_top_corners"
2018-08-08 08:03:38 +00:00
android:elevation="@dimen/card_elevation"
2018-07-27 13:07:33 +00:00
app:behavior_overlapTop="96dp"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<LinearLayout
2018-08-22 17:54:07 +00:00
android:id="@+id/content_container"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical">
<include layout="@layout/abs_playlists" />
<include layout="@layout/home_section_content" />
</LinearLayout>
2018-08-30 09:29:30 +00:00
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>