|
@@ -68,21 +68,49 @@
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="10dp"
|
|
|
+ app:layout_goneMarginEnd="13dp"
|
|
|
android:includeFontPadding="false"
|
|
|
android:textColor="@color/color_1a1a1a"
|
|
|
android:textSize="@dimen/sp_18"
|
|
|
- android:singleLine="true"
|
|
|
+ android:maxLines="1"
|
|
|
android:ellipsize="end"
|
|
|
- android:focusable="true"
|
|
|
- android:focusableInTouchMode="true"
|
|
|
+ app:layout_constraintVertical_chainStyle="packed"
|
|
|
app:layout_constraintWidth_default="wrap"
|
|
|
app:layout_constraintHorizontal_bias="0"
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
- app:layout_constraintBottom_toTopOf="@+id/tv_badge_title"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/fl_tenant_name"
|
|
|
app:layout_constraintLeft_toRightOf="@+id/iv_avatar"
|
|
|
app:layout_constraintTop_toTopOf="@+id/iv_avatar"
|
|
|
app:layout_constraintRight_toLeftOf="@+id/iv_edu_cert"
|
|
|
- tools:text="测试昵称" />
|
|
|
+ tools:text="测试昵称测试昵称测试昵称测试昵测试昵称测试昵称测试昵称测试昵称测试昵称测试昵称测试昵称测试昵称测试昵称测试昵称测试昵称测试昵称测试昵称测试昵称测试昵称测试昵称称" />
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ tools:visibility="visible"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:id="@+id/fl_tenant_name"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/iv_avatar"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_nickname"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_nickname">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_tenant_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="18dp"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:background="@drawable/shape_12ffa673_border_ffbf9a_4dp"
|
|
|
+ android:paddingStart="5dp"
|
|
|
+ android:paddingEnd="5dp"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:textColor="@color/color_ff7b31"
|
|
|
+ android:textSize="@dimen/sp_12"
|
|
|
+ app:layout_constraintHorizontal_bias="0"
|
|
|
+ tools:text="星机构武汉市构武汉市小星星机构武汉市星机构武汉市构武汉市小星星机构武汉市星机构武汉市构武汉市小星星机构武汉市" />
|
|
|
+ </FrameLayout>
|
|
|
|
|
|
|
|
|
<ImageView
|
|
@@ -92,7 +120,7 @@
|
|
|
android:layout_marginStart="8dp"
|
|
|
android:src="@drawable/icon_education_cert"
|
|
|
android:visibility="gone"
|
|
|
- tools:visibility="visible"
|
|
|
+ tools:visibility="gone"
|
|
|
app:layout_constraintRight_toLeftOf="@+id/iv_teacher_cert"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tv_nickname"
|
|
|
app:layout_constraintLeft_toRightOf="@+id/tv_nickname"
|
|
@@ -106,7 +134,7 @@
|
|
|
android:layout_marginStart="6dp"
|
|
|
android:src="@drawable/icon_teacher_cert"
|
|
|
android:visibility="gone"
|
|
|
- tools:visibility="visible"
|
|
|
+ tools:visibility="gone"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tv_nickname"
|
|
|
app:layout_constraintLeft_toRightOf="@+id/iv_edu_cert"
|
|
@@ -131,18 +159,51 @@
|
|
|
app:layout_constraintRight_toRightOf="@+id/iv_avatar"
|
|
|
app:layout_constraintTop_toTopOf="@+id/vip_help_view" />
|
|
|
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_certification_status"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:src="@drawable/icon_home_un_certification"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/iv_avatar"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/iv_avatar"
|
|
|
+ tools:visibility="gone" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/certification_tip_help_view"
|
|
|
+ android:layout_width="1px"
|
|
|
+ android:layout_height="1px"
|
|
|
+ android:layout_marginBottom="15dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/iv_certification_status"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/iv_certification_status" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_un_certification_tip"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:src="@drawable/icon_home_certification_tip"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/certification_tip_help_view"
|
|
|
+ tools:visibility="gone" />
|
|
|
+
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_badge_title"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginStart="9dp"
|
|
|
android:includeFontPadding="false"
|
|
|
android:text="勋章:"
|
|
|
android:textColor="@color/color_666666"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/iv_avatar"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/tv_nickname"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_nickname" />
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/iv_avatar"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/iv_avatar" />
|
|
|
|
|
|
<com.cooleshow.base.widgets.BadgeIconListView
|
|
|
android:id="@+id/ll_badge"
|
|
@@ -162,8 +223,8 @@
|
|
|
android:text="评分:"
|
|
|
android:textColor="@color/color_666666"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/rating_bar"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tv_badge_title"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/ll_badge"
|
|
|
app:layout_constraintTop_toTopOf="@+id/tv_badge_title" />
|
|
|
|
|
|
|
|
@@ -172,13 +233,14 @@
|
|
|
style="@style/HomeRatingBar"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="19dp"
|
|
|
+ android:layout_marginEnd="21dp"
|
|
|
android:isIndicator="true"
|
|
|
android:numStars="5"
|
|
|
android:rating="0"
|
|
|
android:stepSize="1"
|
|
|
android:visibility="visible"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tv_score_title"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/tv_score_title"
|
|
|
app:layout_constraintTop_toTopOf="@+id/tv_score_title" />
|
|
|
|
|
|
<TextView
|
|
@@ -192,48 +254,16 @@
|
|
|
app:layout_constraintLeft_toRightOf="@+id/tv_score_title"
|
|
|
app:layout_constraintTop_toTopOf="@+id/tv_score_title" />
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_certification_status"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="10dp"
|
|
|
- android:src="@drawable/icon_home_un_certification"
|
|
|
- android:visibility="gone"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/iv_avatar"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/iv_avatar"
|
|
|
- tools:visibility="gone" />
|
|
|
-
|
|
|
-
|
|
|
- <View
|
|
|
- android:id="@+id/certification_tip_help_view"
|
|
|
- android:layout_width="1px"
|
|
|
- android:layout_height="1px"
|
|
|
- android:layout_marginBottom="15dp"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/iv_certification_status"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/iv_certification_status" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_un_certification_tip"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="10dp"
|
|
|
- android:src="@drawable/icon_home_certification_tip"
|
|
|
- android:visibility="gone"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/certification_tip_help_view"
|
|
|
- tools:visibility="gone" />
|
|
|
-
|
|
|
<View
|
|
|
android:id="@+id/view_vip_bg"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/dp_82"
|
|
|
android:layout_marginLeft="21dp"
|
|
|
- android:layout_marginTop="17dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
android:layout_marginRight="21dp"
|
|
|
android:background="@drawable/icon_mine_vip_bg"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_avatar"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_badge_title"
|
|
|
app:layout_goneMarginTop="30dp" />
|
|
|
|
|
|
<View
|
|
@@ -241,10 +271,10 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="80dp"
|
|
|
android:layout_marginStart="14dp"
|
|
|
- android:layout_marginTop="62dp"
|
|
|
+ android:layout_marginTop="55dp"
|
|
|
android:layout_marginEnd="14dp"
|
|
|
android:background="@drawable/shape_8dp_white"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_avatar" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_badge_title" />
|
|
|
|
|
|
|
|
|
<TextView
|