6.5.4礼物冠名

This commit is contained in:
18401019693 2023-08-14 21:05:15 +08:00
parent 9e0c437af5
commit 7e1b054a98
3 changed files with 5 additions and 3 deletions

View File

@ -15,6 +15,8 @@
android:id="@+id/operate_image" android:id="@+id/operate_image"
android:layout_width="122dp" android:layout_width="122dp"
android:layout_height="50dp" android:layout_height="50dp"
android:layout_marginEnd="5dp"
android:scaleType="fitXY"
android:layout_gravity="end|bottom" /> android:layout_gravity="end|bottom" />
<FrameLayout <FrameLayout

View File

@ -4,7 +4,7 @@ ext {
buildToolsVersion: "29.0.2", buildToolsVersion: "29.0.2",
minSdkVersion : 21, minSdkVersion : 21,
targetSdkVersion : 31, targetSdkVersion : 31,
versionCode : 437, versionCode : 438,
versionName : "6.5.4" versionName : "6.5.4"
] ]
manifestPlaceholders = [ manifestPlaceholders = [

View File

@ -315,7 +315,7 @@ public class LiveGiftPopup extends AbsDialogFragment {
.append("&for"); .append("&for");
Bundle bundle = new Bundle(); Bundle bundle = new Bundle();
bundle.putString("url", htmlUrl.toString()); bundle.putString("url", htmlUrl.toString());
bundle.putInt("height", DeviceUtils.getScreenHeight(getActivity()) / 5 * 3);
LiveHDDialogFragment fragment = new LiveHDDialogFragment(); LiveHDDialogFragment fragment = new LiveHDDialogFragment();
fragment.setArguments(bundle); fragment.setArguments(bundle);
fragment.show(((LiveAudienceActivity) mContext).getSupportFragmentManager(), "LiveHDDialogFragment"); fragment.show(((LiveAudienceActivity) mContext).getSupportFragmentManager(), "LiveHDDialogFragment");
@ -718,7 +718,7 @@ public class LiveGiftPopup extends AbsDialogFragment {
} }
if (!TextUtils.isEmpty(liveGiftModel.getOperateImage())) { if (!TextUtils.isEmpty(liveGiftModel.getOperateImage())) {
operateImage.setVisibility(View.VISIBLE); operateImage.setVisibility(View.VISIBLE);
ImgLoader.display(getContext(), liveGiftModel.getOperateUrl(), operateImage); ImgLoader.display(getContext(), liveGiftModel.getOperateImage(), operateImage);
} }
} }