|
@@ -1,24 +1,39 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
+ <androidx.constraintlayout.widget.Guideline
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:id="@+id/guide_line"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ app:layout_constraintGuide_percent="0.5"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
android:id="@+id/recyclerView"
|
|
|
+ app:layout_constraintVertical_bias="0"
|
|
|
+ app:layout_constraintHeight_default="wrap"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/guide_line"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_height="0dp"
|
|
|
android:background="@color/white"
|
|
|
android:focusable="true"
|
|
|
android:focusableInTouchMode="true"
|
|
|
android:overScrollMode="never"
|
|
|
- android:paddingTop="@dimen/dp_5"
|
|
|
- android:scrollbars="none" />
|
|
|
+ android:scrollbars="none"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<View
|
|
|
android:id="@+id/view"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:background="#50000000" />
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:background="#50000000"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/recyclerView" />
|
|
|
|
|
|
-</LinearLayout>
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|