diff --git a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java
index 67f969d71..dfab5e0da 100644
--- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java
+++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java
@@ -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();
}
}
}
diff --git a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java
index b8d495720..168d2e8c4 100644
--- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java
+++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java
@@ -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
diff --git a/live/src/main/res/layout/view_flaot_live.xml b/live/src/main/res/layout/view_flaot_live.xml
index 3c3ef883f..e97d21e66 100644
--- a/live/src/main/res/layout/view_flaot_live.xml
+++ b/live/src/main/res/layout/view_flaot_live.xml
@@ -13,11 +13,19 @@
app:cardCornerRadius="4dp"
app:cardElevation="0dp">
-
+ android:layout_margin="1dp"
+ app:cardCornerRadius="4dp"
+ app:cardElevation="0dp">
+
+
+
+