view_floatgift_anim.xml
2.51 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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/animation_person_rl"
android:layout_width="165dp"
android:layout_height="39dp"
android:layout_marginTop="22dp"
android:background="@drawable/bg_giftlayout">
<TextView
android:id="@+id/gift_usernickname_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:ellipsize="end"
android:maxLength="8"
android:maxLines="1"
android:text="匿名"
android:textColor="#ffffff"
android:textSize="12sp" />
<TextView
android:id="@+id/gift_usersign_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:layout_toRightOf="@id/gift_usernickname_tv"
android:ellipsize="end"
android:text="送了"
android:textColor="#00FFFF"
android:textSize="11sp" />
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/sdv_gift"
android:layout_width="40dip"
android:layout_height="40dip"
android:layout_alignParentRight="true"
app:placeholderImage="@drawable/click_refresh"
app:placeholderImageScaleType="centerCrop"
app:roundAsCircle="false" />
<!--diamond2x-->
</RelativeLayout>
<ImageView
android:id="@+id/animation_light"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="95dp"
android:src="@drawable/light_star_anim" />
<com.cnlive.goldenline.ui.widget.hostgift.StrokeTextView
android:id="@+id/animation_num"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_toRightOf="@+id/animation_person_rl"
android:text="x 1"
android:textColor="#0076ff"
android:textSize="24sp"
app:innnerColor="#ffffff"
app:outerColor="#0076ff" />
</RelativeLayout>