收藏房间
This commit is contained in:
@@ -81,8 +81,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/message_item_name_layout"
|
||||
android:layout_toLeftOf="@id/message_item_portrait_right"
|
||||
android:layout_toRightOf="@id/message_item_portrait_left">
|
||||
android:layout_toStartOf="@id/message_item_portrait_right"
|
||||
android:layout_toEndOf="@id/message_item_portrait_left">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/message_item_body"
|
||||
|
@@ -92,7 +92,7 @@ public class MsgViewHolderAudio extends MsgViewHolderBase {
|
||||
containerView.setBackgroundResource(NimUIKitImpl.getOptions().messageLeftBackground);
|
||||
containerView.setPadding(ScreenUtil.dip2px(15), ScreenUtil.dip2px(8), ScreenUtil.dip2px(10), ScreenUtil.dip2px(8));
|
||||
animationView.setBackgroundResource(R.drawable.nim_audio_animation_list_left);
|
||||
durationLabel.setTextColor(Color.BLACK);
|
||||
durationLabel.setTextColor(Color.parseColor("#522f0c"));
|
||||
|
||||
} else {
|
||||
setGravity(animationView, Gravity.RIGHT | Gravity.CENTER_VERTICAL);
|
||||
@@ -102,7 +102,7 @@ public class MsgViewHolderAudio extends MsgViewHolderBase {
|
||||
containerView.setBackgroundResource(NimUIKitImpl.getOptions().messageRightBackground);
|
||||
containerView.setPadding(ScreenUtil.dip2px(10), ScreenUtil.dip2px(8), ScreenUtil.dip2px(15), ScreenUtil.dip2px(8));
|
||||
animationView.setBackgroundResource(R.drawable.nim_audio_animation_list_right);
|
||||
durationLabel.setTextColor(Color.WHITE);
|
||||
durationLabel.setTextColor(Color.parseColor("#666666"));
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -52,10 +52,10 @@ public class MsgViewHolderText extends MsgViewHolderBase {
|
||||
private void layoutDirection() {
|
||||
if (isReceivedMessage()) {
|
||||
bodyTextView.setBackgroundResource(NimUIKitImpl.getOptions().messageLeftBackground);
|
||||
bodyTextView.setTextColor(Color.BLACK);
|
||||
bodyTextView.setTextColor(Color.parseColor("#5F45D6"));
|
||||
} else {
|
||||
bodyTextView.setBackgroundResource(NimUIKitImpl.getOptions().messageRightBackground);
|
||||
bodyTextView.setTextColor(Color.WHITE);
|
||||
bodyTextView.setTextColor(Color.parseColor("#666666"));
|
||||
}
|
||||
// bodyTextView.setPadding(ScreenUtil.dip2px(10), ScreenUtil.dip2px(14), ScreenUtil.dip2px(10), ScreenUtil.dip2px(14));
|
||||
}
|
||||
|
Reference in New Issue
Block a user