feat:调整麦位icon
feat:调整消息气泡样式
@@ -121,7 +121,7 @@ public class RoomOperationDialog extends BottomSheetDialog {
|
|||||||
addSendBroadcastAction(optAdapter);
|
addSendBroadcastAction(optAdapter);
|
||||||
// addInviteFansOptAdapter();
|
// addInviteFansOptAdapter();
|
||||||
addVipSendBroadcastAction(optAdapter);
|
addVipSendBroadcastAction(optAdapter);
|
||||||
addRedPacketAction(optAdapter);
|
// addRedPacketAction(optAdapter);
|
||||||
addRoomSettingAction(optAdapter);
|
addRoomSettingAction(optAdapter);
|
||||||
addGiftEffectAction(optAdapter);
|
addGiftEffectAction(optAdapter);
|
||||||
// addOpenOrClosePublicScreenAction(optAdapter);
|
// addOpenOrClosePublicScreenAction(optAdapter);
|
||||||
|
@@ -538,7 +538,7 @@ public class PublicChatMessageView extends FrameLayout {
|
|||||||
try {
|
try {
|
||||||
if (chatRoomMessage.getMsgType() == MsgTypeEnum.tip) {
|
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.setText(chatRoomMessage.getContent());
|
||||||
tvContent.setBackgroundResource(R.drawable.shape_room_message_tip_bg);
|
tvContent.setBackgroundResource(R.drawable.shape_room_message_tip_bg);
|
||||||
} else if (chatRoomMessage.getMsgType() == MsgTypeEnum.text) {
|
} else if (chatRoomMessage.getMsgType() == MsgTypeEnum.text) {
|
||||||
|
@@ -672,7 +672,7 @@ public class MessageView extends FrameLayout {
|
|||||||
tvContent.setTextColor(ContextCompat.getColor(mContext, R.color.color_fe5d7f));
|
tvContent.setTextColor(ContextCompat.getColor(mContext, R.color.color_fe5d7f));
|
||||||
tvContent.setText(contentText);
|
tvContent.setText(contentText);
|
||||||
} else {
|
} else {
|
||||||
tvContent.setTextColor(ContextCompat.getColor(mContext, R.color.color_92F9E8));
|
tvContent.setTextColor(ContextCompat.getColor(mContext, R.color.color_white));
|
||||||
tvContent.setText(chatRoomMessage.getContent());
|
tvContent.setText(chatRoomMessage.getContent());
|
||||||
tvContent.setBackgroundResource(R.drawable.shape_room_message_tip_bg);
|
tvContent.setBackgroundResource(R.drawable.shape_room_message_tip_bg);
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 6.6 KiB |
BIN
app/src/main/res/drawable-xxhdpi/icon_room_lock_micro.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 5.7 KiB |
BIN
app/src/main/res/drawable-xxhdpi/icon_room_lock_micro_boss.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 5.7 KiB |
BIN
app/src/main/res/drawable-xxhdpi/icon_room_single_lock_micro.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 16 KiB |
BIN
app/src/main/res/drawable-xxhdpi/icon_room_single_up_micro.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 12 KiB |
BIN
app/src/main/res/drawable-xxhdpi/icon_room_up_micro.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.1 KiB |
BIN
app/src/main/res/drawable-xxhdpi/icon_room_up_micro_boss.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 10 KiB |
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shape="rectangle"><!-- android:shape="" 表示是圆角矩形还是椭圆等等 -->
|
android:shape="rectangle"><!-- android:shape="" 表示是圆角矩形还是椭圆等等 -->
|
||||||
<solid android:color="@color/white_transparent_15" /> <!-- 背景颜色 -->
|
<solid android:color="@color/white_transparent_30" /> <!-- 背景颜色 -->
|
||||||
|
|
||||||
<!-- padding 表示内部空间距离背景图片内部边距 的距离 -->
|
<!-- padding 表示内部空间距离背景图片内部边距 的距离 -->
|
||||||
<!--<padding
|
<!--<padding
|
||||||
@@ -10,6 +10,6 @@
|
|||||||
android:right="6dp"
|
android:right="6dp"
|
||||||
android:top="2dp" />-->
|
android:top="2dp" />-->
|
||||||
|
|
||||||
<corners android:radius="@dimen/dp_8" /> <!-- 圆角的程度 -->
|
<corners android:radius="@dimen/dp_7" /> <!-- 圆角的程度 -->
|
||||||
|
|
||||||
</shape>
|
</shape>
|
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shape="rectangle"><!-- android:shape="" 表示是圆角矩形还是椭圆等等 -->
|
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>
|
</shape>
|