From abc7b244a774cad7e798eda8386cbeaa2387a734 Mon Sep 17 00:00:00 2001 From: liujing Date: Tue, 29 Sep 2020 20:06:49 +0800 Subject: [PATCH] no message --- .../module/v2x/scenario/scene/road/V2XRoadVideoWindow.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/scenario/scene/road/V2XRoadVideoWindow.java b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/scenario/scene/road/V2XRoadVideoWindow.java index d8f482e9a1..ac1377ba44 100644 --- a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/scenario/scene/road/V2XRoadVideoWindow.java +++ b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/scenario/scene/road/V2XRoadVideoWindow.java @@ -5,6 +5,7 @@ import android.net.Uri; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; +import android.widget.RelativeLayout; import androidx.constraintlayout.widget.ConstraintLayout; @@ -16,7 +17,7 @@ import com.mogo.module.v2x.scenario.view.IV2XWindow; import com.mogo.module.v2x.view.TextureVideoView; -public class V2XRoadVideoWindow extends ConstraintLayout implements IV2XWindow { +public class V2XRoadVideoWindow extends RelativeLayout implements IV2XWindow { private static final String TAG = "V2XRoadVideoWindow"; private V2XWindowStatusListener mV2XWindowStatusListener; @@ -41,7 +42,6 @@ public class V2XRoadVideoWindow extends ConstraintLayout implements IV2XWindow { } private void initView(Context context) { - // 填充布局 LayoutInflater.from(context).inflate(R.layout.window_road_video, this); mVideoView = findViewById(R.id.roadVideoView); }