指导员背景文字改动

This commit is contained in:
18401019693 2022-09-22 10:39:34 +08:00
parent 82ccf66d80
commit 6bc3019b02
4 changed files with 13 additions and 16 deletions

View File

@ -3,23 +3,20 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rc_conversation_item"
android:layout_width="match_parent"
android:layout_height="143dp">
android:layout_height="110dp">
<RelativeLayout
android:id="@+id/administrator_layout"
android:layout_width="match_parent"
android:layout_height="123dp"
android:layout_marginStart="8dp"
android:layout_marginTop="5dp"
android:layout_marginEnd="8dp"
android:layout_height="match_parent"
android:visibility="visible">
<RelativeLayout
android:id="@+id/img_administrator_layout"
android:layout_width="54dp"
android:layout_height="54dp"
android:layout_marginStart="34dp"
android:layout_marginTop="39dp"
android:layout_marginStart="18dp"
android:layout_marginTop="27dp"
android:layout_marginEnd="15dp">
<com.yunbao.common.views.weight.ClipPathCircleImage
@ -43,7 +40,7 @@
android:id="@+id/conversation_linear"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="41dp"
android:layout_marginTop="34dp"
android:layout_toEndOf="@id/img_administrator_layout"
android:gravity="center_vertical">
@ -87,7 +84,7 @@
android:ellipsize="end"
android:singleLine="true"
android:text="你好,朋友!"
android:textColor="@color/rc_secondary_color"
android:textColor="#818181"
android:textSize="14sp" />
<RelativeLayout
@ -122,10 +119,10 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_marginTop="41dp"
android:layout_marginTop="34dp"
android:layout_marginEnd="26dp"
android:text="3 月 22 日"
android:textColor="@color/rc_auxiliary_color"
android:textColor="#818181"
android:textSize="@dimen/rc_font_nav_or_date_size" />
</RelativeLayout>

View File

@ -64,7 +64,7 @@ public class PDLiveCustomConversationProvider extends BaseConversationProvider {
if ((model != null && TextUtils.equals(model.getIsAdmin(), "1")) ) {
RelativeLayout conversationItem = holder.getView(R.id.rc_conversation_item);
RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) conversationItem.getLayoutParams();
params.height = DpUtil.dp2px(143);
params.height = DpUtil.dp2px(110);
conversationItem.setLayoutParams(params);
holder.setOnClickListener(R.id.img_administrator, new View.OnClickListener() {
@Override

View File

@ -30,7 +30,7 @@
android:layout_height="24dp"
android:layout_gravity="end|bottom"
android:layout_marginEnd="16dp"
android:layout_marginBottom="18dp"
android:layout_marginBottom="16dp"
android:src="@mipmap/news_icon_clearance" />
</FrameLayout>
@ -43,7 +43,7 @@
<RelativeLayout
android:layout_width="0dp"
android:layout_height="130dp"
android:layout_height="120dp"
android:layout_weight="1">
@ -72,7 +72,7 @@
<RelativeLayout
android:layout_width="0dp"
android:layout_height="130dp"
android:layout_height="120dp"
android:layout_weight="1">
<ImageView
@ -100,7 +100,7 @@
<RelativeLayout
android:layout_width="0dp"
android:layout_height="130dp"
android:layout_height="120dp"
android:layout_weight="1">
<ImageView

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 KiB

After

Width:  |  Height:  |  Size: 428 KiB