|
|
@@ -1,38 +1,42 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<android.support.v4.widget.NestedScrollView
|
|
|
- android:id="@+id/scroll_layout"
|
|
|
+<android.support.design.widget.CoordinatorLayout
|
|
|
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:id="@+id/scroll_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/container_layout"
|
|
|
+ <!--header영역-->
|
|
|
+ <android.support.design.widget.AppBarLayout
|
|
|
+ android:id="@+id/app_bar_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/layout_bucket_detail_header"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
+ <android.support.design.widget.CollapsingToolbarLayout
|
|
|
+ android:id="@+id/collapsing_tool_bar"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
app:layout_constraintDimensionRatio="H,2:1"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintHeight_max="250dp"
|
|
|
- app:layout_constraintStart_toStartOf="parent">
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
|
|
+
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/image_background"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
+ android:layout_height="208dp"
|
|
|
android:scaleType="centerCrop"
|
|
|
+ app:layout_collapseMode="parallax"
|
|
|
tools:src="@drawable/img_bestbucket_banner_1"/>
|
|
|
|
|
|
<android.support.constraint.ConstraintLayout
|
|
|
android:id="@+id/layout_select_bucket"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:paddingStart="80dp"
|
|
|
android:paddingEnd="80dp"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
@@ -72,15 +76,28 @@
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
tools:text="OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO"/>
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
+
|
|
|
+ <android.support.v7.widget.Toolbar
|
|
|
+ android:id="@+id/flexible.example.toolbar"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="137dp"
|
|
|
+ android:background="@null"
|
|
|
+ app:layout_collapseMode="pin"
|
|
|
+ app:layout_scrollFlags="scroll|enterAlways"
|
|
|
+ android:elevation="0dp"
|
|
|
+ app:elevation="0dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ </android.support.design.widget.CollapsingToolbarLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/layout_tags"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="bottom"
|
|
|
+ android:background="@color/CFFFFFF"
|
|
|
android:orientation="vertical"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/layout_bucket_detail_header"
|
|
|
- >
|
|
|
+ app:layout_scrollFlags="exitUntilCollapsed">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
@@ -103,8 +120,7 @@
|
|
|
|
|
|
<HorizontalScrollView
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:scrollbars="">
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/layout_contents"
|
|
|
@@ -117,16 +133,13 @@
|
|
|
</LinearLayout>
|
|
|
</HorizontalScrollView>
|
|
|
</LinearLayout>
|
|
|
+ </android.support.design.widget.AppBarLayout>
|
|
|
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/recycler_view_bucket_list_detail"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingTop="25dp"
|
|
|
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/layout_tags"
|
|
|
- />
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
-</android.support.v4.widget.NestedScrollView>
|
|
|
+
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:id="@+id/recycler_view_bucket_list_detail"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingTop="25dp"
|
|
|
+ app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
|
|
+</android.support.design.widget.CoordinatorLayout>
|