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

91 lines
3.6 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2018-11-05 13:53:07 +00:00
<LinearLayout 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"
2018-11-05 13:53:07 +00:00
android:layout_height="match_parent"
android:orientation="vertical">
2018-07-27 13:07:33 +00:00
2018-11-05 13:53:07 +00:00
<FrameLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:ignore="UnusedAttribute">
2018-11-05 13:53:07 +00:00
<include layout="@layout/status_bar" />
</FrameLayout>
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:id="@+id/coordinator_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/app_bar"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-11-05 13:53:07 +00:00
android:layout_weight="0"
android:elevation="0dp"
app:elevation="0dp"
tools:ignore="UnusedAttribute">
2018-07-27 13:07:33 +00:00
2018-11-05 13:53:07 +00:00
<com.google.android.material.appbar.CollapsingToolbarLayout
android:id="@+id/collapsing_toolbar"
2018-07-27 13:07:33 +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-07-27 13:07:33 +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">
2018-07-27 13:07:33 +00:00
<TextView
android:id="@+id/title"
2018-11-05 13:53:07 +00:00
style="@style/BigTitleTextAppearance"
android:text="@string/app_name" />
2018-07-27 13:07:33 +00:00
<code.name.monkey.retromusic.views.CircularImageView
android:id="@+id/user_image"
2018-11-05 13:53:07 +00:00
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_gravity="end"
2018-07-27 13:07:33 +00:00
android:layout_marginEnd="16dp"
app:civ_border="false" />
2018-11-05 13:53:07 +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-11-05 13:53:07 +00:00
<androidx.core.widget.NestedScrollView
android:id="@+id/container"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-11-05 13:53:07 +00:00
android:layout_marginStart="@dimen/horizontal_margin"
android:layout_marginEnd="@dimen/horizontal_margin"
android:layout_weight="1"
android:background="@drawable/bg_circular_top_corners"
android:elevation="@dimen/card_elevation"
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="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>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</LinearLayout>
2018-07-27 13:07:33 +00:00