|
|
@@ -5,7 +5,7 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical"
|
|
|
- >
|
|
|
+ >
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
@@ -23,19 +23,28 @@
|
|
|
|
|
|
<android.support.v4.view.ViewPager
|
|
|
android:id="@+id/view_pager_best_bucket_list"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="152dp"/>
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintDimensionRatio="V, 360:174"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
|
<android.support.design.widget.TabLayout
|
|
|
android:id="@+id/tab_layout_bucket_list"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_height="5dp"
|
|
|
+ android:layout_alignBottom="@+id/view_pager_best_bucket_list"
|
|
|
+ android:layout_alignParentStart="true"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/view_pager_best_bucket_list"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:tabBackground="@drawable/tab_selector"
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/view_pager_best_bucket_list"
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/view_pager_best_bucket_list"
|
|
|
+ app:tabBackground="@drawable/best_bucket_tab_selector"
|
|
|
app:tabGravity="center"
|
|
|
- app:tabIndicatorHeight="0dp"/>
|
|
|
+ app:tabIndicatorHeight="0dp"
|
|
|
+ />
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
<android.support.constraint.ConstraintLayout
|
|
|
@@ -117,8 +126,8 @@
|
|
|
android:id="@+id/recycler_view_my_bucket_list"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="30dp"
|
|
|
- android:layout_gravity="center">
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginBottom="30dp">
|
|
|
</android.support.v7.widget.RecyclerView>
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|