Commit 4f795005 by 刘鹏

feat: UI还原

parent 91505e27
......@@ -191,11 +191,7 @@ class ExpertSearchAdapter(
val view = LayoutInflater.from(context)
.inflate(R.layout.consultant_item_tag, holder.ll_tags, false)
tag.tag_name.let { name ->
if (name.length > 4) {
view.tvTag.text = "${name.substring(0, 4)}…"
} else {
view.tvTag.text = name
}
view.tvTag.text = name
}
if (tag.is_highlight) {
view.tvTag.setBackgroundResource(R.drawable.consultant_bg_radius_line_eb892c)
......
......@@ -187,11 +187,11 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/tvName"
android:layout_marginTop="12dp"
android:text="起"
android:textColor="@color/color_ef8a4a"
android:textSize="@dimen/platform_dp_12"
app:layout_constraintBaseline_toBaselineOf="@id/tvPrice"
app:layout_constraintTop_toTopOf="@id/tvPrice"
app:layout_constraintBottom_toBottomOf="@id/tvPrice"
app:layout_constraintLeft_toRightOf="@id/tvPrice" />
<TextView
......@@ -210,10 +210,8 @@
android:layout_width="wrap_content"
android:layout_height="24dp"
android:elevation="0dp"
android:minWidth="56dp"
android:paddingLeft="6dp"
android:minWidth="60dp"
android:paddingTop="4dp"
android:paddingRight="6dp"
android:paddingBottom="4dp"
app:cardBackgroundColor="@color/color_6ec8f9"
app:cardCornerRadius="12dp"
......
......@@ -12,5 +12,5 @@
android:paddingRight="4dp"
android:paddingBottom="3dp"
android:textColor="@color/color_1c1f28_50"
android:textSize="11sp"
android:textSize="11dp"
tools:text="恋爱情感" />
......@@ -29,7 +29,7 @@ class LoopScrollAvatar @JvmOverloads constructor(
private val animDuration = 500L
//动画间隔播放时间
private val animIntervalTime = 2000L
private val animIntervalTime = 1500L
//两边头像的缩放程度
private val scaleFrom = 0.7F
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment