修复:
直播間UI修改
This commit is contained in:
parent
8bd3a32c5e
commit
218525d51c
@ -30,7 +30,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="25dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="#10000000" />
|
||||
android:background="@mipmap/bg_main_item_bottom" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/name"
|
||||
|
BIN
common/src/main/res/mipmap-xxhdpi/bg_main_item_bottom.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/bg_main_item_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
@ -255,7 +255,14 @@ public class LiveAudienceActivity extends LiveActivity {
|
||||
} else {
|
||||
liveHandler.post(liveRunnable);
|
||||
}
|
||||
|
||||
Log.e("收到socket--->", "mLiveUid--------------------------->" + mLiveUid);
|
||||
//加载当前页面数据
|
||||
View rootView = manager.getRootView();
|
||||
if (rootView.getParent() != null && rootView.getParent() instanceof ViewGroup) {
|
||||
((ViewGroup) (rootView.getParent())).removeView(rootView);
|
||||
manager.onRemove();
|
||||
}
|
||||
mViewGroup.addView(manager.getRootView());
|
||||
}
|
||||
|
||||
//获取直播间状态
|
||||
@ -294,14 +301,7 @@ public class LiveAudienceActivity extends LiveActivity {
|
||||
mAncherName = liveBean1.getUserNiceName();
|
||||
mAncherIcon = liveBean1.getAvatar();
|
||||
|
||||
Log.e("收到socket--->", "mLiveUid--------------------------->" + mLiveUid);
|
||||
//加载当前页面数据
|
||||
View rootView = manager.getRootView();
|
||||
if (rootView.getParent() != null && rootView.getParent() instanceof ViewGroup) {
|
||||
((ViewGroup) (rootView.getParent())).removeView(rootView);
|
||||
manager.onRemove();
|
||||
}
|
||||
mViewGroup.addView(manager.getRootView());
|
||||
|
||||
manager.onAdd(liveBean1, liveType, liveTypeVal, liveSdk);
|
||||
|
||||
});
|
||||
|
@ -150,11 +150,9 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/btn_follow"
|
||||
android:layout_width="23dp"
|
||||
android:layout_height="23dp"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_width="34dp"
|
||||
android:layout_height="34dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:layout_marginBottom="3dp"
|
||||
android:src="@mipmap/live_icon_focus"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/white"
|
||||
|
Loading…
Reference in New Issue
Block a user