修复:

直播間UI修改
This commit is contained in:
18401019693 2022-08-31 13:37:51 +08:00
parent 1b3c9d02a4
commit 1e78929691
9 changed files with 19 additions and 12 deletions

View File

@ -26,6 +26,12 @@
android:layout_margin="4dp"
android:gravity="center" />
<View
android:layout_width="match_parent"
android:layout_height="25dp"
android:layout_gravity="bottom"
android:background="#10000000" />
<TextView
android:id="@+id/name"
android:layout_width="wrap_content"

View File

@ -289,10 +289,10 @@ public class LiveAudienceActivity extends LiveActivity {
mLiveType = liveType;
mLiveTypeVal = liveTypeVal;
mLiveBean = liveBean1;
mLiveUid = mLiveBean.getUid();
mStream = mLiveBean.getStream();
mAncherName = liveBean.getUserNiceName();
mAncherIcon = liveBean.getAvatar();
mLiveUid = liveBean1.getUid();
mStream = liveBean1.getStream();
mAncherName = liveBean1.getUserNiceName();
mAncherIcon = liveBean1.getAvatar();
Log.e("收到socket--->", "mLiveUid--------------------------->" + mLiveUid);
//加载当前页面数据
@ -302,7 +302,7 @@ public class LiveAudienceActivity extends LiveActivity {
manager.onRemove();
}
mViewGroup.addView(manager.getRootView());
manager.onAdd(liveBean, liveType, liveTypeVal, liveSdk);
manager.onAdd(liveBean1, liveType, liveTypeVal, liveSdk);
});

View File

@ -238,7 +238,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
//直播间背景
ImgLoader.displayBlurLive(mContext, mLiveBean.getAvatar(), liveBack);
ImgLoader.displayBlurLive(mContext, data.getAvatar(), liveBack);
mask.setVisibility(View.VISIBLE);
mLivePlayViewHolder.setCover(data.getThumb());

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="17dp"/>
<solid android:color="#80000000"/>
<solid android:color="#30000000"/>
</shape>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="10dp"/>
<solid android:color="#80000000"/>
<solid android:color="#30000000"/>
</shape>

View File

@ -3,5 +3,5 @@
<corners
android:bottomLeftRadius="10dp"
android:topLeftRadius="10dp" />
<solid android:color="#80000000" />
<solid android:color="#30000000" />
</shape>

View File

@ -88,7 +88,7 @@
<LinearLayout
android:id="@+id/group_1"
android:layout_width="wrap_content"
android:layout_width="142dp"
android:layout_height="34dp"
android:layout_marginLeft="8dp"
android:layout_marginTop="4dp"
@ -233,6 +233,7 @@
android:layout_height="30dp"
android:layout_marginStart="6dp"
android:layout_marginTop="4dp"
android:scaleType="fitCenter"
android:src="@mipmap/icon_live_close_3" />
</LinearLayout>
</RelativeLayout>
@ -391,7 +392,7 @@
<!--心愿单-->
<LinearLayout
android:id="@+id/wish_list_layout"
android:layout_width="90dp"
android:layout_width="80dp"
android:layout_height="21dp"
android:layout_alignTop="@id/hour_rank_layout"
android:layout_marginStart="10dp"
@ -498,7 +499,7 @@
<LinearLayout
android:id="@+id/open_sidebar"
android:layout_width="69dp"
android:layout_width="65dp"
android:layout_height="20dp"
android:layout_alignTop="@id/hour_rank_layout"
android:layout_alignParentRight="true"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB