|
|
@@ -1,179 +1,199 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<android.support.design.widget.CoordinatorLayout
|
|
|
+<android.support.constraint.ConstraintLayout
|
|
|
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:layout_height="match_parent">
|
|
|
|
|
|
- <!--header영역-->
|
|
|
- <android.support.design.widget.AppBarLayout
|
|
|
- android:id="@+id/app_bar_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="wrap_content"
|
|
|
- android:background="@null"
|
|
|
- app:elevation="0dp">
|
|
|
-
|
|
|
- <android.support.design.widget.CollapsingToolbarLayout
|
|
|
- android:id="@+id/collapsing_tool_bar"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:layout_constrainedHeight="true"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/layout_nothing"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintVertical_bias="0">
|
|
|
+
|
|
|
+ <!--header영역-->
|
|
|
+ <android.support.design.widget.AppBarLayout
|
|
|
+ android:id="@+id/app_bar_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
|
|
+ android:background="@null"
|
|
|
+ app:elevation="0dp">
|
|
|
|
|
|
- <android.support.v7.widget.Toolbar
|
|
|
- android:id="@+id/flexible.example.toolbar"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="137dp"
|
|
|
- android:background="@null"
|
|
|
- android:visibility="invisible"
|
|
|
- android:elevation="0dp"
|
|
|
- app:elevation="0dp"
|
|
|
- app:layout_collapseMode="pin"
|
|
|
- app:layout_scrollFlags="scroll|enterAlways"
|
|
|
- tools:visibility="gone"
|
|
|
- />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/image_background"
|
|
|
+ <android.support.design.widget.CollapsingToolbarLayout
|
|
|
+ android:id="@+id/collapsing_tool_bar"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="208dp"
|
|
|
- android:scaleType="centerCrop"
|
|
|
- app:layout_collapseMode="parallax"
|
|
|
- tools:src="@drawable/img_bestbucket_banner_1"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
|
|
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/layout_select_bucket"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="208dp"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:paddingStart="80dp"
|
|
|
- android:paddingEnd="80dp"
|
|
|
- app:layout_collapseMode="parallax">
|
|
|
+ <android.support.v7.widget.Toolbar
|
|
|
+ android:id="@+id/flexible.example.toolbar"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="137dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:elevation="0dp"
|
|
|
+ android:visibility="invisible"
|
|
|
+ app:elevation="0dp"
|
|
|
+ app:layout_collapseMode="pin"
|
|
|
+ app:layout_scrollFlags="scroll|enterAlways"
|
|
|
+ tools:visibility="gone"
|
|
|
+ />
|
|
|
|
|
|
<ImageView
|
|
|
- android:id="@+id/image_checker"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- app:layout_constraintEnd_toStartOf="@+id/text_view_select_bucket"
|
|
|
- app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/text_view_select_bucket"
|
|
|
- app:srcCompat="@drawable/icon_bucket_complete_white"
|
|
|
- tools:visibility="visible"/>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/text_view_select_bucket"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:layout_marginStart="5dp"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- android:layout_marginBottom="20dp"
|
|
|
- android:ellipsize="end"
|
|
|
- android:gravity="center"
|
|
|
- android:lineSpacingExtra="8sp"
|
|
|
- android:maxLength="40"
|
|
|
- android:maxLines="3"
|
|
|
- android:textColor="@color/CFFFFFF"
|
|
|
- android:textSize="21dp"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/image_checker"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- tools:text="OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO"/>
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
-
|
|
|
- </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_scrollFlags="exitUntilCollapsed">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="25dp"
|
|
|
- android:layout_marginTop="18dp"
|
|
|
- android:layout_marginBottom="13dp"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:id="@+id/image_background"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="208dp"
|
|
|
+ android:scaleType="centerCrop"
|
|
|
+ app:layout_collapseMode="parallax"
|
|
|
+ tools:src="@drawable/img_bestbucket_banner_1"/>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/text_title"
|
|
|
+ <android.support.constraint.ConstraintLayout
|
|
|
+ android:id="@+id/layout_select_bucket"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:lineSpacingExtra="4sp"
|
|
|
- android:text="@string/tag_title"
|
|
|
- android:textColor="@color/C999999"
|
|
|
- android:textSize="12sp"
|
|
|
- />
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_height="208dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:paddingStart="80dp"
|
|
|
+ android:paddingEnd="80dp"
|
|
|
+ app:layout_collapseMode="parallax">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/image_checker"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/text_view_select_bucket"
|
|
|
+ app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/text_view_select_bucket"
|
|
|
+ app:srcCompat="@drawable/icon_bucket_complete_white"
|
|
|
+ tools:visibility="visible"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/text_view_select_bucket"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:gravity="center"
|
|
|
+ android:lineSpacingExtra="8sp"
|
|
|
+ android:maxLength="40"
|
|
|
+ android:maxLines="3"
|
|
|
+ android:textColor="@color/CFFFFFF"
|
|
|
+ android:textSize="21dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/image_checker"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ tools:text="OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO"/>
|
|
|
+ </android.support.constraint.ConstraintLayout>
|
|
|
+
|
|
|
+ </android.support.design.widget.CollapsingToolbarLayout>
|
|
|
|
|
|
- <HorizontalScrollView
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/layout_tags"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:clipToPadding="false"
|
|
|
- android:paddingEnd="25dp"
|
|
|
- android:scrollbars="none">
|
|
|
+ android:layout_gravity="bottom"
|
|
|
+ android:background="@color/CFFFFFF"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:layout_scrollFlags="exitUntilCollapsed">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/layout_contents"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="25dp"
|
|
|
- android:orientation="horizontal"
|
|
|
- >
|
|
|
-
|
|
|
+ android:layout_marginTop="18dp"
|
|
|
+ android:layout_marginBottom="13dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/text_title"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:lineSpacingExtra="4sp"
|
|
|
+ android:text="@string/tag_title"
|
|
|
+ android:textColor="@color/C999999"
|
|
|
+ android:textSize="12sp"
|
|
|
+ />
|
|
|
</LinearLayout>
|
|
|
- </HorizontalScrollView>
|
|
|
- </LinearLayout>
|
|
|
- </android.support.design.widget.AppBarLayout>
|
|
|
|
|
|
+ <HorizontalScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:clipToPadding="false"
|
|
|
+ android:paddingEnd="25dp"
|
|
|
+ android:scrollbars="none">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/layout_contents"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ >
|
|
|
+
|
|
|
+ </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"/>
|
|
|
+
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:id="@+id/recycler_view_bucket_list_detail"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:clipToPadding="false"
|
|
|
+ android:paddingTop="15dp"
|
|
|
+ app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
|
+ />
|
|
|
+
|
|
|
+ </android.support.design.widget.CoordinatorLayout>
|
|
|
|
|
|
<android.support.constraint.ConstraintLayout
|
|
|
android:id="@+id/layout_nothing"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
android:visibility="gone"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/scroll_layout"
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/image_view_filter_result_nothing"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/textView9"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:srcCompat="@drawable/icon_search_none"
|
|
|
- />
|
|
|
+ app:layout_constraintVertical_chainStyle="packed"
|
|
|
+ app:srcCompat="@drawable/icon_search_none"/>
|
|
|
|
|
|
<TextView
|
|
|
+ android:id="@+id/textView9"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="18dp"
|
|
|
+ android:layout_marginTop="17dp"
|
|
|
android:gravity="center_horizontal"
|
|
|
android:lineSpacingExtra="6sp"
|
|
|
android:text="@string/bucket_list_search_none"
|
|
|
android:textColor="@color/CC5C5C5"
|
|
|
android:textSize="14sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintHorizontal_bias="0.5"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/image_view_filter_result_nothing"
|
|
|
- />
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/image_view_filter_result_nothing"/>
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
-</android.support.design.widget.CoordinatorLayout>
|
|
|
+</android.support.constraint.ConstraintLayout>
|