|
@@ -1,6 +1,5 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?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"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
@@ -8,34 +7,58 @@
|
|
android:layout_marginStart="@dimen/dp_16"
|
|
android:layout_marginStart="@dimen/dp_16"
|
|
android:layout_marginEnd="@dimen/dp_16"
|
|
android:layout_marginEnd="@dimen/dp_16"
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
- android:orientation="vertical"
|
|
|
|
- >
|
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
android:id="@+id/iv_icon"
|
|
android:id="@+id/iv_icon"
|
|
android:layout_width="@dimen/dp_40"
|
|
android:layout_width="@dimen/dp_40"
|
|
android:layout_height="@dimen/dp_40"
|
|
android:layout_height="@dimen/dp_40"
|
|
android:layout_marginTop="6dp"
|
|
android:layout_marginTop="6dp"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
|
- />
|
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
+
|
|
|
|
+ <View
|
|
|
|
+ android:id="@+id/view_help_point"
|
|
|
|
+ android:layout_width="1px"
|
|
|
|
+ android:layout_height="1px"
|
|
|
|
+ android:layout_marginTop="3dp"
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/iv_icon"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/iv_icon" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
- android:maxLines="1"
|
|
|
|
- android:maxWidth="70dp"
|
|
|
|
- android:ellipsize="end"
|
|
|
|
|
|
+ android:id="@+id/tv_group_owner_tag"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="15dp"
|
|
|
|
+ android:background="@drawable/shape_ff4d72_8dp"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:paddingStart="9dp"
|
|
|
|
+ android:paddingEnd="9dp"
|
|
|
|
+ android:text="群主"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/sp_11"
|
|
|
|
+ android:visibility="gone"
|
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/view_help_point"
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/iv_icon"
|
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/iv_icon" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:gravity="center"
|
|
android:id="@+id/tv_title"
|
|
android:id="@+id/tv_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_5"
|
|
android:layout_marginTop="@dimen/dp_5"
|
|
android:layout_marginBottom="@dimen/dp_19"
|
|
android:layout_marginBottom="@dimen/dp_19"
|
|
|
|
+ android:ellipsize="end"
|
|
|
|
+ android:maxWidth="70dp"
|
|
|
|
+ android:maxLines="1"
|
|
android:text=""
|
|
android:text=""
|
|
- tools:text="哈哈哈哈哈哈哈哈"
|
|
|
|
android:textColor="@color/color_666666"
|
|
android:textColor="@color/color_666666"
|
|
android:textSize="@dimen/dp_14"
|
|
android:textSize="@dimen/dp_14"
|
|
- app:layout_constraintBottom_toBottomOf="@id/iv_icon"
|
|
|
|
- app:layout_constraintStart_toEndOf="@+id/iv_icon"
|
|
|
|
- app:layout_constraintTop_toTopOf="@+id/iv_icon"/>
|
|
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/iv_icon"
|
|
|
|
+ tools:text="哈哈哈哈哈哈哈哈" />
|
|
|
|
|
|
|
|
|
|
-</LinearLayout>
|
|
|
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|