admin
2020-08-12 cefe2a41db4a275fb1e940a902cb156f1ed68d80
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?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>