cnlive_layout_controller.xml
3.49 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
<?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">
<RelativeLayout
android:id="@+id/controller_top_layout"
android:layout_width="match_parent"
android:layout_height="58dp"
android:background="@drawable/cnlive_video_top_bg">
<ImageView
android:id="@+id/playShare"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_alignParentRight="true"
android:layout_marginRight="3dp"
android:scaleType="fitCenter"
android:padding="11dp"
android:src="@drawable/cnlive_video_share" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/controller_bottom_layout"
android:layout_width="match_parent"
android:layout_height="58dp"
android:layout_alignParentBottom="true"
android:background="@drawable/cnlive_video_bottom_bg">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center"
android:layout_marginBottom="11dp">
<ImageView
android:id="@+id/avatar"
android:layout_width="11dp"
android:layout_height="13dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="4dp"
android:src="@drawable/cnlive_avatar" />
<TextView
android:id="@+id/liveFocusCount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
android:textColor="@android:color/white"
android:textSize="16dp" />
</LinearLayout>
<TextView
android:id="@+id/inputBtn"
android:layout_width="345dp"
android:layout_height="35dp"
android:layout_alignParentBottom="true"
android:layout_centerInParent="true"
android:layout_marginBottom="4dp"
android:background="@drawable/cnlive_chat_btn_bg"
android:gravity="center"
android:text="说点什么..."
android:textColor="@android:color/white"
android:textSize="14dp"
android:visibility="gone" />
<ToggleButton
android:id="@+id/barrageBtn"
android:layout_width="37dp"
android:layout_height="19dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="11dp"
android:layout_marginRight="19dp"
android:layout_toLeftOf="@+id/fullScreen"
android:background="@drawable/cnlive_switch_bg"
android:checked="true"
android:text=""
android:textOff=""
android:textOn="" />
<ImageView
android:id="@+id/fullScreen"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_marginRight="4dp"
android:padding="11dp"
android:scaleType="fitCenter"
android:src="@drawable/cnlive_fullscreen_p" />
</RelativeLayout>
</RelativeLayout>