layout_live_pusher_info.xml
2.96 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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:ignore="contentDescription"
android:layout_width="110dp"
android:layout_height="wrap_content"
android:background="@drawable/pusher_info_background"
android:orientation="horizontal"
android:paddingBottom="1dp"
android:paddingLeft="1dp"
android:paddingRight="1dp"
android:paddingTop="1dp">
<ImageView
android:id="@+id/anchor_iv_head_icon"
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_gravity="center_vertical"
android:src="@drawable/face" />
<TextView
android:id="@+id/anchor_tv_broadcasting_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="10sp"
android:singleLine="true"
android:maxLines="1"
android:textColor="@color/colorTextWhite"
android:layout_alignParentTop="true"
android:paddingTop="2.5dp"
android:layout_marginLeft="5dp"
android:paddingRight="10dp"
android:layout_toRightOf="@+id/anchor_iv_record_ball"/>
<ImageView
android:id="@+id/anchor_iv_record_ball"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_toRightOf="@id/anchor_iv_head_icon"
android:layout_marginTop="6dp"
android:layout_marginLeft="5dp"
android:background="@drawable/liveshow_item_dot"
android:scaleType="fitXY" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/colorTextWhite"
android:textSize="10sp"
android:visibility="gone"
android:layout_below="@+id/anchor_iv_record_ball"
android:layout_toRightOf="@+id/anchor_iv_head_icon"
android:layout_toEndOf="@+id/anchor_iv_head_icon" />
<TextView
android:id="@+id/anchor_tv_member_counts"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:drawablePadding="5dp"
android:textSize="10sp"
android:textColor="@color/colorTextWhite"
android:layout_below="@+id/anchor_tv_broadcasting_time"
android:layout_alignLeft="@+id/anchor_tv_broadcasting_time" />
<TextView
android:id="@+id/anchor_tv_like_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textSize="10sp"
android:text=""
android:textColor="@color/colorTextWhite"
android:layout_below="@+id/anchor_tv_member_counts"
android:layout_alignLeft="@+id/anchor_tv_broadcasting_time" />
</RelativeLayout>