You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
3.8 KiB
94 lines
3.8 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/colorBackground">
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/app_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
|
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
|
android:id="@+id/toolbar_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fitsSystemWindows="true"
|
|
app:contentScrim="?attr/colorPrimary"
|
|
app:expandedTitleGravity="top"
|
|
app:expandedTitleMarginStart="114dp"
|
|
app:expandedTitleMarginTop="66dp"
|
|
app:expandedTitleTextAppearance="@style/Base.TextAppearance.AppCompat.Title"
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
|
|
|
|
|
<!--<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/book_detail_iv_blur_cover"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="190dp"
|
|
android:scaleType="centerCrop"/>-->
|
|
|
|
<include
|
|
android:id="@+id/ih"
|
|
layout="@layout/layout_book_detail_header"/>
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
app:title="@string/novel_girl"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
app:layout_collapseMode="pin"
|
|
app:popupTheme="@style/AppTheme.PopupOverlay"/>
|
|
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
<!--详情简介-->
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="56dp"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<include
|
|
android:id="@+id/ic"
|
|
layout="@layout/layout_book_detail_content"/>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
<!--底部button-->
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:orientation="vertical">
|
|
|
|
<include
|
|
android:id="@+id/ib"
|
|
layout="@layout/layout_book_detail_bottom"/>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_gravity="top"
|
|
android:background="#140000"/>
|
|
</FrameLayout>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/pb_loading"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:visibility="gone"/>
|
|
</RelativeLayout> |