cnlive_fragment_ugc_live_player.xml
5.9 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.cnlive.lib_cnvideo.ui.widget.player.CNMediaPlayer
android:id="@+id/cnlivePlayer"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<View
android:layout_width="match_parent"
android:layout_height="159dp"
android:background="@drawable/cnlive_video_top_bg"/>
<include layout="@layout/cnlive_layout_player_anchor_info" />
<View
android:layout_width="match_parent"
android:layout_height="159dp"
android:background="@drawable/cnlive_video_bottom_bg"
android:layout_alignBottom="@+id/bottomLayout"/>
<com.cnlive.libs.video.barrage.BarrageLayout
android:id="@+id/topBarrage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/anchorAboutLayout" />
<com.cnlive.libs.video.barrage.BarrageLayout
android:id="@+id/bottomBarrage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/bottomLayout" />
<TextView
android:id="@+id/retryText"
android:layout_width="match_parent"
android:layout_height="42dp"
android:layout_above="@+id/bottomLayout"
android:background="@color/colorRetry"
android:gravity="center_vertical"
android:paddingLeft="25dp"
android:textColor="@color/colorWhite"
android:textSize="14dp"
android:visibility="gone"/>
<RelativeLayout
android:id="@+id/bottomLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true">
<View
android:id="@+id/bottomLine"
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#66ffffff" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true">
<TextView
android:id="@+id/showSoftInput"
android:layout_width="250dp"
android:layout_height="35dp"
android:layout_below="@+id/bottomLine"
android:layout_marginBottom="19dp"
android:layout_marginRight="20dp"
android:layout_marginTop="19dp"
android:layout_toRightOf="@+id/playerPlayPause"
android:background="@drawable/cnlive_chat_btn_bg"
android:gravity="center"
android:text="说点什么吧..."
android:textColor="@android:color/white"
android:textSize="14dp" />
<LinearLayout
android:id="@+id/supportAnchor"
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_gravity="center_vertical"
android:background="@drawable/cnlive_support_bg"
android:gravity="center"
android:orientation="vertical"
android:visibility="visible">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="¥"
android:textColor="@android:color/white"
android:textSize="16dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="支持TA"
android:textColor="@android:color/white"
android:textSize="9dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/sendGift"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:gravity="center"
android:orientation="vertical"
android:visibility="gone">
<ImageView
android:layout_width="44dp"
android:layout_height="34dp"
android:src="@drawable/cnlive_flay_kiss_big" />
<TextView
android:id="@+id/flyKissPriceText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:textColor="@android:color/white"
android:textSize="11dp"
tools:text="10¥送飞吻" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>
<com.cnlive.lib_cnvideo.ui.widget.player.CNUgcInfoView
android:id="@+id/infoView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<com.cnlive.lib_cnvideo.ui.widget.player.CNLiveEndView
android:id="@+id/liveEndView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<include layout="@layout/cnlive_layout_player_top" />
<ImageView
android:id="@+id/pageBack"
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="15dp"
android:scaleType="fitCenter"
android:src="@drawable/cnlive_video_back" />
<RelativeLayout
android:id="@+id/foregroundLayout"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</RelativeLayout>