修复:
直播間UI修改
This commit is contained in:
parent
1b3c9d02a4
commit
1e78929691
@ -26,6 +26,12 @@
|
|||||||
android:layout_margin="4dp"
|
android:layout_margin="4dp"
|
||||||
android:gravity="center" />
|
android:gravity="center" />
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="25dp"
|
||||||
|
android:layout_gravity="bottom"
|
||||||
|
android:background="#10000000" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/name"
|
android:id="@+id/name"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -289,10 +289,10 @@ public class LiveAudienceActivity extends LiveActivity {
|
|||||||
mLiveType = liveType;
|
mLiveType = liveType;
|
||||||
mLiveTypeVal = liveTypeVal;
|
mLiveTypeVal = liveTypeVal;
|
||||||
mLiveBean = liveBean1;
|
mLiveBean = liveBean1;
|
||||||
mLiveUid = mLiveBean.getUid();
|
mLiveUid = liveBean1.getUid();
|
||||||
mStream = mLiveBean.getStream();
|
mStream = liveBean1.getStream();
|
||||||
mAncherName = liveBean.getUserNiceName();
|
mAncherName = liveBean1.getUserNiceName();
|
||||||
mAncherIcon = liveBean.getAvatar();
|
mAncherIcon = liveBean1.getAvatar();
|
||||||
|
|
||||||
Log.e("收到socket--->", "mLiveUid--------------------------->" + mLiveUid);
|
Log.e("收到socket--->", "mLiveUid--------------------------->" + mLiveUid);
|
||||||
//加载当前页面数据
|
//加载当前页面数据
|
||||||
@ -302,7 +302,7 @@ public class LiveAudienceActivity extends LiveActivity {
|
|||||||
manager.onRemove();
|
manager.onRemove();
|
||||||
}
|
}
|
||||||
mViewGroup.addView(manager.getRootView());
|
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);
|
mask.setVisibility(View.VISIBLE);
|
||||||
|
|
||||||
mLivePlayViewHolder.setCover(data.getThumb());
|
mLivePlayViewHolder.setCover(data.getThumb());
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<corners android:radius="17dp"/>
|
<corners android:radius="17dp"/>
|
||||||
<solid android:color="#80000000"/>
|
<solid android:color="#30000000"/>
|
||||||
</shape>
|
</shape>
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<corners android:radius="10dp"/>
|
<corners android:radius="10dp"/>
|
||||||
<solid android:color="#80000000"/>
|
<solid android:color="#30000000"/>
|
||||||
</shape>
|
</shape>
|
@ -3,5 +3,5 @@
|
|||||||
<corners
|
<corners
|
||||||
android:bottomLeftRadius="10dp"
|
android:bottomLeftRadius="10dp"
|
||||||
android:topLeftRadius="10dp" />
|
android:topLeftRadius="10dp" />
|
||||||
<solid android:color="#80000000" />
|
<solid android:color="#30000000" />
|
||||||
</shape>
|
</shape>
|
@ -88,7 +88,7 @@
|
|||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/group_1"
|
android:id="@+id/group_1"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="142dp"
|
||||||
android:layout_height="34dp"
|
android:layout_height="34dp"
|
||||||
android:layout_marginLeft="8dp"
|
android:layout_marginLeft="8dp"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
@ -233,6 +233,7 @@
|
|||||||
android:layout_height="30dp"
|
android:layout_height="30dp"
|
||||||
android:layout_marginStart="6dp"
|
android:layout_marginStart="6dp"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
android:src="@mipmap/icon_live_close_3" />
|
android:src="@mipmap/icon_live_close_3" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
@ -391,7 +392,7 @@
|
|||||||
<!--心愿单-->
|
<!--心愿单-->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/wish_list_layout"
|
android:id="@+id/wish_list_layout"
|
||||||
android:layout_width="90dp"
|
android:layout_width="80dp"
|
||||||
android:layout_height="21dp"
|
android:layout_height="21dp"
|
||||||
android:layout_alignTop="@id/hour_rank_layout"
|
android:layout_alignTop="@id/hour_rank_layout"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
@ -498,7 +499,7 @@
|
|||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/open_sidebar"
|
android:id="@+id/open_sidebar"
|
||||||
android:layout_width="69dp"
|
android:layout_width="65dp"
|
||||||
android:layout_height="20dp"
|
android:layout_height="20dp"
|
||||||
android:layout_alignTop="@id/hour_rank_layout"
|
android:layout_alignTop="@id/hour_rank_layout"
|
||||||
android:layout_alignParentRight="true"
|
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