修复:
直播間UI修改
This commit is contained in:
parent
1b3c9d02a4
commit
1e78929691
@ -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"
|
||||
|
@ -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);
|
||||
|
||||
});
|
||||
|
||||
|
@ -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());
|
||||
|
@ -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>
|
@ -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>
|
@ -3,5 +3,5 @@
|
||||
<corners
|
||||
android:bottomLeftRadius="10dp"
|
||||
android:topLeftRadius="10dp" />
|
||||
<solid android:color="#80000000" />
|
||||
<solid android:color="#30000000" />
|
||||
</shape>
|
@ -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 |
BIN
live/src/main/res/mipmap-xxxhdpi/messagesss.png
Normal file
BIN
live/src/main/res/mipmap-xxxhdpi/messagesss.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
Loading…
Reference in New Issue
Block a user