修改悬浮窗样式
This commit is contained in:
parent
ec1656fbbd
commit
234756149c
@ -1086,13 +1086,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
}
|
||||
|
||||
private synchronized void showBanner2() {
|
||||
Log.e("PortraitLiveManager", "加载不了 mBannerList2 == null " + (mBannerList2 == null));
|
||||
Log.e("PortraitLiveManager", "加载不了 mBannerList2.size() == 0 " + (mBannerList2.size() == 0));
|
||||
Log.e("PortraitLiveManager", "加载不了 mBanner2 == null " + (mBanner2 == null));
|
||||
if (mBannerList2 != null && mBanner2 != null) {
|
||||
btn_event2.setVisibility(View.VISIBLE);
|
||||
if (mBannerList2.size() == 1) {
|
||||
Log.e("PortraitLiveManager", "加载一个的");
|
||||
mBanner2.setAutoPlay(false)
|
||||
.setPages(mBannerList2, new CustomViewHolder())
|
||||
.setDelayTime(3000)
|
||||
@ -1267,7 +1263,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
|
||||
showBanner();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -285,15 +285,6 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
mLiveRoomViewHolder.initHourRankList();
|
||||
}
|
||||
});
|
||||
|
||||
// LiveHttpUtil.getStarChallengeStatus(mLiveBean.getUid(), new HttpCallback() {
|
||||
// @Override
|
||||
// public void onSuccess(int code, String msg, String[] info) {
|
||||
// Log.e("PortraitLiveManager",info[0]);
|
||||
// StarChallengeStatusModel model = GsonUtils.fromJson(info[0], StarChallengeStatusModel.class);
|
||||
// mLiveRoomViewHolder.showStart(model);
|
||||
// }
|
||||
// });
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -13,11 +13,19 @@
|
||||
app:cardCornerRadius="4dp"
|
||||
app:cardElevation="0dp">
|
||||
|
||||
<com.tencent.rtmp.ui.TXCloudVideoView
|
||||
android:id="@+id/video_view"
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="1dp" />
|
||||
android:layout_margin="1dp"
|
||||
app:cardCornerRadius="4dp"
|
||||
app:cardElevation="0dp">
|
||||
|
||||
<com.tencent.rtmp.ui.TXCloudVideoView
|
||||
android:id="@+id/video_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<ImageView
|
||||
|
Loading…
Reference in New Issue
Block a user