修复开播后点击屏幕闪退问题

调整女神说背景固定大小
This commit is contained in:
zlzw 2023-04-07 16:01:59 +08:00
parent 33034ce4d6
commit af164f549f
3 changed files with 7 additions and 8 deletions

View File

@ -150,12 +150,6 @@ public class InvitePopDialog extends AbsDialogPopupWindow {
ClipData clipData = ClipData.newPlainText("text", url);
cm.setPrimaryClip(clipData);
ToastUtil.show(WordUtil.getString(com.yunbao.common.R.string.copy_success));
DialogUitl.showSimpleDialog(getContext(), url, new DialogUitl.SimpleCallback() {
@Override
public void onConfirmClick(Dialog dialog, String content) {
dialog.dismiss();
}
});
}
public InvitePopDialog setUrl(String data) {

View File

@ -356,6 +356,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
private Banner topBanner1;//心愿单&联系方式
private SVGAImageView xydSvg;
public SVGAImageView svga_new_user_gif, svga_new_user_double, svga_new_user_follow;
@Subscribe(threadMode = ThreadMode.MAIN)
public void onUpdata(String str) {
if ("svga_new_user_gif".equals(str)) {
@ -492,6 +493,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
}, null);
}
public LiveRoomViewHolder(boolean isRys, int forActivity, Context context, ViewGroup parentView, GifImageView gifImageView, SVGAImageView svgaImageView, ViewGroup liveGiftPrizePoolContainer, WindowManager windowManager) {
super(context, parentView);
Contexts = context;
@ -898,7 +900,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
svga_new_user_double.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
((LiveAudienceActivity) mContext).light();
if (mContext instanceof LiveAudienceActivity) {
((LiveAudienceActivity) mContext).light();
}
}
});
btnEvent = findViewById(R.id.btn_event);
@ -4708,6 +4712,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
if (mTopBannerList == null) {
mTopBannerList = new ArrayList<>();
}
// if(sayModel!=null&&sayModel.getLivePreview().getIsShow()==1&&sa)
topBanner1.setVisibility(View.VISIBLE);
BannerBean bannerBean = new BannerBean();
bannerBean.setWishlistIcon(wishListProgress.getWishlistIcon())

View File

@ -8,7 +8,7 @@
<ImageView
android:id="@+id/anchor_say_icon"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_height="88dp"
android:layout_marginTop="8dp"
android:scaleType="fitXY"
android:src="@color/main_color_79CDF9"