|
|
@@ -1,34 +1,34 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<LinearLayout 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_height="wrap_content"
|
|
|
+ android:layout_margin="5dp"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="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_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" />
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv"
|
|
|
+ android:layout_width="15dp"
|
|
|
+ android:layout_height="15dp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_name"
|
|
|
+ style="@style/CommonTextView"
|
|
|
+ android:layout_marginLeft="5dp" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<View
|
|
|
android:id="@+id/v_indicator"
|
|
|
- android:layout_width="0dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/divider_line_width"
|
|
|
- android:layout_below="@id/iv"
|
|
|
android:background="@color/main_color"
|
|
|
- android:visibility="gone"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/tv_name" />
|
|
|
-</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ android:visibility="gone" />
|
|
|
+</LinearLayout>
|