<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:id="@+id/full_holder_inner"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent" >
|
|
<RelativeLayout
|
android:id="@+id/space_left"
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
android:layout_alignParentLeft="true" >
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:id="@+id/space_middle"
|
android:layout_width="fill_parent"
|
android:layout_height="fill_parent"
|
android:layout_toLeftOf="@+id/space_right"
|
android:layout_toRightOf="@+id/space_left" >
|
|
<RelativeLayout
|
android:id="@+id/space_top"
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
android:layout_alignParentTop="true" >
|
</RelativeLayout>
|
|
<com.youku.player.NewSurfaceView
|
android:id="@+id/surface_view"
|
android:layout_width="fill_parent"
|
android:layout_height="fill_parent"
|
android:layout_above="@+id/space_bottom"
|
android:layout_below="@+id/space_top"
|
android:focusableInTouchMode="true" />
|
|
<TextView
|
android:id="@+id/surface_view_debug"
|
android:layout_width="fill_parent"
|
android:layout_height="fill_parent"
|
android:layout_above="@+id/space_bottom"
|
android:layout_below="@+id/space_top"
|
android:gravity="bottom"
|
android:textColor="#00ff1e"
|
android:textSize="8sp" />
|
|
<View
|
android:id="@+id/surface_black"
|
android:layout_width="fill_parent"
|
android:layout_height="fill_parent"
|
android:layout_above="@+id/space_bottom"
|
android:layout_below="@+id/space_top"
|
android:background="#000000" />
|
<ImageView
|
android:id="@+id/logo_view"
|
android:src="@drawable/player_logo_youku"
|
android:layout_width="@dimen/wm_width"
|
android:layout_height="@dimen/wm_width"
|
android:layout_alignParentRight="true"
|
android:visibility="invisible"
|
android:scaleType="fitCenter"
|
android:layout_margin="15dp"
|
android:padding="5dp" />
|
<RelativeLayout
|
android:id="@+id/space_bottom"
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
android:layout_alignParentBottom="true" >
|
</RelativeLayout>
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:id="@+id/space_right"
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
android:layout_alignParentRight="true" >
|
</RelativeLayout>
|
|
</RelativeLayout>
|