<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:id="@+id/fragment_su_video_view"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
<!--2. 视频广告 -->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="635" />
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h20" />
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="520">
|
|
<VideoView
|
android:id="@+id/videoView"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_alignParentBottom="true"
|
android:layout_alignParentEnd="true"
|
android:layout_alignParentLeft="true"
|
android:layout_alignParentRight="true"
|
android:layout_alignParentStart="true"
|
android:layout_alignParentTop="true"/>
|
|
|
<TextView
|
android:id="@+id/overlay"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="#001738" />
|
|
<!--<ImageView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_alignParentBottom="true"
|
android:layout_alignParentEnd="true"
|
android:layout_alignParentLeft="true"
|
android:layout_alignParentRight="true"
|
android:layout_alignParentStart="true"
|
android:layout_alignParentTop="true"
|
android:background="@drawable/company"/>-->
|
|
</RelativeLayout>
|
</LinearLayout>
|
</RelativeLayout>
|