v_watch_live_fragment.xml
4.06 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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/headView"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/rl_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/black" />
<!--<com.vhall.uilibs.util.DanmuView
android:id="@+id/sv_danmaku"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="visible" />-->
<RelativeLayout
android:id="@+id/re"
android:layout_width="match_parent"
android:layout_height="45dp">
<ImageView
android:visibility="gone"
android:id="@+id/image_action_back"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_margin="7dp"
android:src="@drawable/finish" />
<TextView
android:id="@+id/fragment_download_speed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
android:layout_alignParentRight="true"
android:layout_marginRight="10dp"
android:layout_marginTop="10dp"
android:textColor="#E60000"
android:textSize="16sp" />
<!--直播介绍====弹窗-->
<RelativeLayout
android:id="@+id/details"
android:layout_width="50dp"
android:layout_height="match_parent"
android:layout_alignParentRight="true">
<ImageView
android:layout_width="25dp"
android:visibility="gone"
android:layout_height="25dp"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:src="@drawable/details" />
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:visibility="gone"
android:layout_below="@+id/re"
android:layout_marginTop="15dp"
android:layout_width="160dp"
android:layout_height="40dp"
android:layout_marginLeft="10dp"
android:background="@drawable/shape_select"
android:padding="4dp">
<com.vhall.uilibs.util.XCRoundImageView
android:id="@+id/head_img"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_centerVertical="true"
android:src="@drawable/flu" />
<TextView
android:id="@+id/nickname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_toRightOf="@+id/head_img"
android:ellipsize="end"
android:maxLines="1"
android:text="妮维雅广发官网旗舰店"
android:textColor="@color/white"
android:textSize="12dp" />
<ImageView
android:id="@+id/live"
android:layout_width="10dp"
android:layout_height="8dp"
android:layout_alignParentBottom="true"
android:layout_marginLeft="5dp"
android:layout_marginBottom="3dp"
android:layout_toRightOf="@+id/head_img" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginLeft="3dp"
android:layout_toRightOf="@+id/live"
android:text="直播中"
android:textColor="@color/white"
android:textSize="10dp" />
</RelativeLayout>
<ProgressBar
android:id="@+id/progressbar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:visibility="gone" />
</RelativeLayout>