-
Notifications
You must be signed in to change notification settings - Fork 9
/
barrage_down_up.xml
46 lines (42 loc) · 1.57 KB
/
barrage_down_up.xml
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
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/layout"
android:layout_width="40dp"
android:padding="4dp"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp">
<TextView
android:id="@+id/tvBarrageName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="1"
android:layout_gravity="right"
android:layout_marginTop="32dp"
android:includeFontPadding="false"
android:text="某某某"
android:textColor="#ff8813"
android:textSize="12sp" />
<TextView
android:id="@+id/tvBarrageMsg"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="1"
android:background="@drawable/shape_barrage_bg"
android:layout_marginTop="16dp"
android:paddingTop="16dp"
android:paddingBottom="8dp"
android:textColor="#ff0000"
android:gravity="center"
android:text="一条消息飘过"
android:layout_gravity="bottom"
android:textSize="13sp" />
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/imgBarrageHead"
android:layout_width="@dimen/head_size"
android:layout_height="@dimen/head_size"
android:src="@drawable/boy_head"
app:civ_border_width="1dp"
app:civ_border_color="#FF000000"/>
</FrameLayout>