房间公屏增加超管标识
This commit is contained in:
@@ -1751,7 +1751,10 @@ public class MessageView extends FrameLayout {
|
||||
R.mipmap.ic_user_official_13dp, null) : null,
|
||||
badgeWidth, badgeHeight)
|
||||
.append(newUser ? Constants.NEW_USER_ICON : "", badgeWidth, badgeHeight)
|
||||
.append(NobleUtil.getLocalResourcePath(userBadge), badgeWidth, badgeHeight);
|
||||
.append(NobleUtil.getLocalResourcePath(userBadge), badgeWidth, badgeHeight)
|
||||
.append(AvRoomDataManager.get().isSuperAdmin(chatRoomMessage.getFromAccount()) ? ResourcesCompat.getDrawable(getResources(),
|
||||
R.drawable.ic_room_super_admin, null) : null,
|
||||
SizeUtils.dp2px(tvContent.getContext(), 66), expLevelHeight);
|
||||
|
||||
// 官方主播认证
|
||||
String tvOfficialMask = NobleUtil.getLevel(UserInfo.OAC_NAME, chatRoomMessage).trim();
|
||||
|
BIN
app/src/main/res/drawable-xhdpi/ic_room_super_admin.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_room_super_admin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.1 KiB |
@@ -517,7 +517,6 @@ public class UserInfo implements Serializable {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public CarInfo getCarInfo() {
|
||||
return mCarInfo;
|
||||
}
|
||||
@@ -579,6 +578,7 @@ public class UserInfo implements Serializable {
|
||||
|
||||
/**
|
||||
* 判断是否为官方账号
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public boolean isOfficial() {
|
||||
@@ -633,8 +633,8 @@ public class UserInfo implements Serializable {
|
||||
|
||||
/**
|
||||
* 靓号变色
|
||||
* @param defColor
|
||||
* 非靓号颜色
|
||||
*
|
||||
* @param defColor 非靓号颜色
|
||||
*/
|
||||
public SpannableString getNick(int defColor) {
|
||||
|
||||
|
Reference in New Issue
Block a user