|
|
@@ -1,5 +1,5 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout
|
|
|
+<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"
|
|
|
@@ -7,17 +7,27 @@
|
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="@drawable/img_bestbucket_banner_5">
|
|
|
+ <android.support.constraint.ConstraintLayout
|
|
|
+ android:id="@+id/relativeLayout2"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:background="@drawable/img_bestbucket_banner_5"
|
|
|
+ app:layout_constraintDimensionRatio="H,2:1"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintHeight_max="250dp"
|
|
|
+ app:layout_constraintStart_toStartOf="parent">
|
|
|
|
|
|
<ImageView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:layout_marginEnd="5dp"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ android:layout_marginBottom="8dp"
|
|
|
android:layout_toStartOf="@+id/text_view_select_bucket"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/text_view_select_bucket"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
app:srcCompat="@drawable/icon_bucket_complete_white"/>
|
|
|
|
|
|
<TextView
|
|
|
@@ -25,17 +35,27 @@
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerInParent="true"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ android:layout_marginBottom="8dp"
|
|
|
android:gravity="center_horizontal"
|
|
|
android:lineSpacingExtra="8sp"
|
|
|
android:text="@string/bucket_select_text10"
|
|
|
android:textColor="#ffffff"
|
|
|
- android:textSize="21sp"/>
|
|
|
+ android:textSize="21sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"/>
|
|
|
+
|
|
|
+ </android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
android:id="@+id/recycler_view_related_tag_list"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="25dp"
|
|
|
- />
|
|
|
-</LinearLayout>
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:paddingTop="25dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/relativeLayout2"/>
|
|
|
+</android.support.constraint.ConstraintLayout>
|