feat:调整麦位icon

feat:调整消息气泡样式
This commit is contained in:
max
2024-05-22 15:09:18 +08:00
parent 8475180048
commit 58f1002b4e
22 changed files with 7 additions and 7 deletions

View File

@@ -121,7 +121,7 @@ public class RoomOperationDialog extends BottomSheetDialog {
addSendBroadcastAction(optAdapter);
// addInviteFansOptAdapter();
addVipSendBroadcastAction(optAdapter);
addRedPacketAction(optAdapter);
// addRedPacketAction(optAdapter);
addRoomSettingAction(optAdapter);
addGiftEffectAction(optAdapter);
// addOpenOrClosePublicScreenAction(optAdapter);

View File

@@ -538,7 +538,7 @@ public class PublicChatMessageView extends FrameLayout {
try {
if (chatRoomMessage.getMsgType() == MsgTypeEnum.tip) {
// 房間通告
tvContent.setTextColor(ContextCompat.getColor(mContext, R.color.color_92F9E8));
tvContent.setTextColor(ContextCompat.getColor(mContext, R.color.color_white));
tvContent.setText(chatRoomMessage.getContent());
tvContent.setBackgroundResource(R.drawable.shape_room_message_tip_bg);
} else if (chatRoomMessage.getMsgType() == MsgTypeEnum.text) {

View File

@@ -672,7 +672,7 @@ public class MessageView extends FrameLayout {
tvContent.setTextColor(ContextCompat.getColor(mContext, R.color.color_fe5d7f));
tvContent.setText(contentText);
} else {
tvContent.setTextColor(ContextCompat.getColor(mContext, R.color.color_92F9E8));
tvContent.setTextColor(ContextCompat.getColor(mContext, R.color.color_white));
tvContent.setText(chatRoomMessage.getContent());
tvContent.setBackgroundResource(R.drawable.shape_room_message_tip_bg);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"><!-- android:shape="" 表示是圆角矩形还是椭圆等等 -->
<solid android:color="@color/white_transparent_15" /> <!-- 背景颜色 -->
<solid android:color="@color/white_transparent_30" /> <!-- 背景颜色 -->
<!-- padding 表示内部空间距离背景图片内部边距 的距离 -->
<!--<padding
@@ -10,6 +10,6 @@
android:right="6dp"
android:top="2dp" />-->
<corners android:radius="@dimen/dp_8" /> <!-- 圆角的程度 -->
<corners android:radius="@dimen/dp_7" /> <!-- 圆角的程度 -->
</shape>

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"><!-- android:shape="" 表示是圆角矩形还是椭圆等等 -->
<solid android:color="@color/green_transparent_16" /> <!-- 背景颜色 -->
<solid android:color="@color/white_transparent_30" /> <!-- 背景颜色 -->
<corners android:radius="@dimen/dp_8" /> <!-- 圆角的程度 -->
<corners android:radius="@dimen/dp_7" /> <!-- 圆角的程度 -->
</shape>