|
|
@@ -1,17 +1,34 @@
|
|
|
<?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:id="@+id/root"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_margin="@dimen/rv_item_margin"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
<ImageView
|
|
|
+ android:id="@+id/iv"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_number"
|
|
|
- style="@style/CommonTextView" />
|
|
|
+ android:id="@+id/tv_name"
|
|
|
+ style="@style/CommonTextView"
|
|
|
+ android:layout_marginBottom="@dimen/divider_line_margin"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toRightOf="@id/iv"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
-</LinearLayout>
|
|
|
+ <View
|
|
|
+ android:id="@+id/v_indicator"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="@dimen/divider_line_width"
|
|
|
+ android:layout_below="@id/iv"
|
|
|
+ android:background="@color/tab_indicator"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/tv_name" />
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|