推送直播,暂时保留了测试关闭按钮,暂时没有重复推送

This commit is contained in:
liujing
2020-10-29 21:13:41 +08:00
parent 7f9a336bc5
commit d0727f2254
4 changed files with 38 additions and 12 deletions

View File

@@ -4,8 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/v2x_alert_window_live_bg"
android:padding="@dimen/dp_20">
android:background="@drawable/v2x_alert_window_live_bg">
<com.mogo.module.v2x.view.V2XLiveGSYVideoView
android:id="@+id/videoPlayer"

View File

@@ -3,7 +3,10 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rlRoadEventDetail"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="@dimen/v2x_video_window_height"
android:layout_marginLeft="@dimen/v2x_right_context_margin"
android:layout_marginTop="@dimen/dp_30"
android:layout_marginRight="@dimen/dp_25"
android:clipToPadding="false">
<include
@@ -11,5 +14,11 @@
layout="@layout/item_v2x_live_video"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<ImageView
android:id="@+id/pushVideoClose"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_20"
android:layout_marginTop="@dimen/dp_20"
android:src="@drawable/v2x_panel_close" />
</RelativeLayout>