6.5.4礼物冠名
This commit is contained in:
@@ -89,12 +89,13 @@ import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* 直播间新送礼弹窗
|
||||
*/
|
||||
public class LiveGiftPopup extends AbsDialogFragment {
|
||||
private ImageView gitBackground, nobilityIcon, description, iconArrow, operateImage, namingAvatar;
|
||||
private ImageView gitBackground, nobilityIcon, description, iconArrow, operateImage, namingAvatar, giftItle;
|
||||
private JSONArray liveGiftList;
|
||||
private TextView diamondText, goldText, liveWrap, vipGoldDesc, vipGoldTitle, giftNumber;
|
||||
private RecyclerView giftTitle;
|
||||
@@ -163,6 +164,7 @@ public class LiveGiftPopup extends AbsDialogFragment {
|
||||
vipGoldDesc = mRootView.findViewById(R.id.vipGoldDesc);
|
||||
vipGoldTitle = mRootView.findViewById(R.id.vipGoldTitle);
|
||||
giftNumber = mRootView.findViewById(R.id.gift_number);
|
||||
giftItle = mRootView.findViewById(R.id.gift_itle);
|
||||
liveGiftSend = mRootView.findViewById(R.id.live_gift_send);
|
||||
giftNumberLayout = mRootView.findViewById(R.id.gift_number_layout);
|
||||
mLianText = mRootView.findViewById(R.id.lian_text);
|
||||
@@ -317,6 +319,11 @@ public class LiveGiftPopup extends AbsDialogFragment {
|
||||
fragment.show(((LiveAudienceActivity) mContext).getSupportFragmentManager(), "LiveHDDialogFragment");
|
||||
}
|
||||
});
|
||||
if (IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) {
|
||||
ImgLoader.display(mContext, R.mipmap.icon_live_gift_gift_itle, giftItle);
|
||||
} else {
|
||||
ImgLoader.display(mContext, R.mipmap.icon_live_gift_gift_itle_en, giftItle);
|
||||
}
|
||||
}
|
||||
|
||||
private void initDate() {
|
||||
|
||||
Reference in New Issue
Block a user