修复开播后点击屏幕闪退问题
调整女神说背景固定大小
This commit is contained in:
parent
33034ce4d6
commit
af164f549f
@ -150,12 +150,6 @@ public class InvitePopDialog extends AbsDialogPopupWindow {
|
|||||||
ClipData clipData = ClipData.newPlainText("text", url);
|
ClipData clipData = ClipData.newPlainText("text", url);
|
||||||
cm.setPrimaryClip(clipData);
|
cm.setPrimaryClip(clipData);
|
||||||
ToastUtil.show(WordUtil.getString(com.yunbao.common.R.string.copy_success));
|
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) {
|
public InvitePopDialog setUrl(String data) {
|
||||||
|
@ -356,6 +356,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
private Banner topBanner1;//心愿单&联系方式
|
private Banner topBanner1;//心愿单&联系方式
|
||||||
private SVGAImageView xydSvg;
|
private SVGAImageView xydSvg;
|
||||||
public SVGAImageView svga_new_user_gif, svga_new_user_double, svga_new_user_follow;
|
public SVGAImageView svga_new_user_gif, svga_new_user_double, svga_new_user_follow;
|
||||||
|
|
||||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||||
public void onUpdata(String str) {
|
public void onUpdata(String str) {
|
||||||
if ("svga_new_user_gif".equals(str)) {
|
if ("svga_new_user_gif".equals(str)) {
|
||||||
@ -492,6 +493,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
}, null);
|
}, null);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public LiveRoomViewHolder(boolean isRys, int forActivity, Context context, ViewGroup parentView, GifImageView gifImageView, SVGAImageView svgaImageView, ViewGroup liveGiftPrizePoolContainer, WindowManager windowManager) {
|
public LiveRoomViewHolder(boolean isRys, int forActivity, Context context, ViewGroup parentView, GifImageView gifImageView, SVGAImageView svgaImageView, ViewGroup liveGiftPrizePoolContainer, WindowManager windowManager) {
|
||||||
super(context, parentView);
|
super(context, parentView);
|
||||||
Contexts = context;
|
Contexts = context;
|
||||||
@ -898,7 +900,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
svga_new_user_double.setOnClickListener(new View.OnClickListener() {
|
svga_new_user_double.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
((LiveAudienceActivity) mContext).light();
|
if (mContext instanceof LiveAudienceActivity) {
|
||||||
|
((LiveAudienceActivity) mContext).light();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
btnEvent = findViewById(R.id.btn_event);
|
btnEvent = findViewById(R.id.btn_event);
|
||||||
@ -4708,6 +4712,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
if (mTopBannerList == null) {
|
if (mTopBannerList == null) {
|
||||||
mTopBannerList = new ArrayList<>();
|
mTopBannerList = new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
// if(sayModel!=null&&sayModel.getLivePreview().getIsShow()==1&&sa)
|
||||||
topBanner1.setVisibility(View.VISIBLE);
|
topBanner1.setVisibility(View.VISIBLE);
|
||||||
BannerBean bannerBean = new BannerBean();
|
BannerBean bannerBean = new BannerBean();
|
||||||
bannerBean.setWishlistIcon(wishListProgress.getWishlistIcon())
|
bannerBean.setWishlistIcon(wishListProgress.getWishlistIcon())
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/anchor_say_icon"
|
android:id="@+id/anchor_say_icon"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="88dp"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
android:src="@color/main_color_79CDF9"
|
android:src="@color/main_color_79CDF9"
|
||||||
|
Loading…
Reference in New Issue
Block a user