PlayerAndroid/app/src/main/res/layout-xlarge-land/fragment_banner_home.xml

123 lines
5.6 KiB
XML
Raw Normal View History

2018-08-05 16:35:09 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-08-22 17:54:07 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2018-11-20 15:27:59 +00:00
android:id="@+id/main_fragment_content"
2018-08-05 16:35:09 +00:00
android:layout_width="match_parent"
2018-08-22 17:54:07 +00:00
android:layout_height="match_parent"
android:orientation="vertical">
2018-08-05 16:35:09 +00:00
2018-08-30 09:29:30 +00:00
<androidx.coordinatorlayout.widget.CoordinatorLayout
2018-08-05 16:35:09 +00:00
android:layout_width="match_parent"
2018-08-22 17:54:07 +00:00
android:layout_height="match_parent">
2018-11-28 06:22:40 +00:00
<com.google.android.material.appbar.AppBarLayout
2018-12-04 15:34:26 +00:00
2018-09-09 19:44:46 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-11-28 06:22:40 +00:00
android:background="@android:color/transparent"
android:elevation="0dp"
app:elevation="0dp">
2018-08-30 09:29:30 +00:00
2018-11-28 06:22:40 +00:00
<com.google.android.material.appbar.CollapsingToolbarLayout
2018-08-22 17:54:07 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-11-28 06:22:40 +00:00
android:background="@android:color/transparent"
app:contentScrim="@android:color/transparent"
app:layout_scrollFlags="scroll|exitUntilCollapsed"
app:statusBarScrim="@color/md_black_1000"
app:titleEnabled="false">
2018-08-30 09:29:30 +00:00
2018-11-28 06:22:40 +00:00
<FrameLayout
2018-12-04 15:34:26 +00:00
android:id="@+id/imageContainer"
2018-11-20 15:27:59 +00:00
android:layout_width="match_parent"
2018-11-28 06:22:40 +00:00
android:layout_height="228dp"
2018-12-04 15:34:26 +00:00
app:layout_collapseMode="parallax">
2018-11-20 15:27:59 +00:00
<ImageView
2018-12-04 15:34:26 +00:00
android:id="@+id/bannerImage"
2018-11-20 15:27:59 +00:00
android:layout_width="match_parent"
2018-11-28 06:22:40 +00:00
android:layout_height="match_parent"
2018-11-20 15:27:59 +00:00
android:scaleType="centerCrop"
app:layout_collapseMode="parallax"
2018-11-28 06:22:40 +00:00
tools:background="@color/md_red_400"
2018-11-20 15:27:59 +00:00
tools:ignore="ContentDescription" />
2018-11-28 06:22:40 +00:00
</FrameLayout>
2018-11-20 15:27:59 +00:00
2018-11-28 06:22:40 +00:00
<LinearLayout
2018-11-23 16:30:46 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-11-28 06:22:40 +00:00
android:orientation="vertical"
app:layout_collapseMode="pin"
app:layout_scrollFlags="scroll|enterAlways">
2018-11-23 16:30:46 +00:00
2018-11-28 06:22:40 +00:00
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<include layout="@layout/status_bar" />
</FrameLayout>
2018-12-04 15:34:26 +00:00
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
style="@style/Toolbar"
android:layout_gravity="center_vertical"
app:layout_collapseMode="pin"
app:layout_scrollFlags="scroll|enterAlways"
2018-11-28 06:22:40 +00:00
tools:ignore="UnusedAttribute">
<TextView
2018-12-04 15:34:26 +00:00
android:id="@+id/bannerTitle"
2018-11-28 06:22:40 +00:00
style="@style/BigTitleTextAppearanceToolbar"
2019-01-28 10:45:51 +00:00
android:shadowColor="@color/md_black_1000"
android:shadowRadius="2"
2018-11-28 06:22:40 +00:00
android:text="@string/app_name"
2019-01-28 10:45:51 +00:00
android:textColor="@color/md_white_1000"
2018-12-04 15:34:26 +00:00
tools:ignore="MissingPrefix" />
2018-11-28 06:22:40 +00:00
<code.name.monkey.retromusic.views.CircularImageView
2018-12-04 15:34:26 +00:00
android:id="@+id/userImage"
2018-11-28 06:22:40 +00:00
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="end|center_vertical"
android:layout_marginEnd="16dp"
app:civ_border="false" />
2018-12-04 15:34:26 +00:00
</androidx.appcompat.widget.Toolbar>
2018-11-28 06:22:40 +00:00
</LinearLayout>
</com.google.android.material.appbar.CollapsingToolbarLayout>
</com.google.android.material.appbar.AppBarLayout>
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-12-04 15:34:26 +00:00
app:behavior_overlapTop="52dp"
2018-11-28 06:22:40 +00:00
app:layout_behavior="@string/appbar_scrolling_view_behavior">
2018-12-04 15:34:26 +00:00
<com.google.android.material.card.MaterialCardView
2018-11-28 06:22:40 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-12-04 15:34:26 +00:00
android:layout_marginStart="128dp"
android:layout_marginEnd="128dp"
app:cardCornerRadius="12dp">
2018-11-23 16:30:46 +00:00
2018-12-04 15:34:26 +00:00
<LinearLayout
2019-01-14 12:17:22 +00:00
android:id="@+id/contentContainer"
2018-12-04 15:34:26 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical">
2018-08-30 09:29:30 +00:00
2018-12-04 15:34:26 +00:00
<include layout="@layout/abs_playlists" />
2019-01-28 10:45:51 +00:00
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false" />
2018-12-04 15:34:26 +00:00
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
2018-09-09 19:44:46 +00:00
</androidx.core.widget.NestedScrollView>
2018-08-30 09:29:30 +00:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>
2018-08-05 16:35:09 +00:00
</LinearLayout>