item_gift.xml
2.92 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<RelativeLayout
android:id="@+id/gift_layout"
android:layout_width="match_parent"
android:layout_height="70dp" >
<RelativeLayout
android:id="@+id/gift_view"
android:layout_width="190dp"
android:layout_height="wrap_content" >
<ImageView
android:id="@+id/gift_item_bg"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginTop="20dp"
android:src="@drawable/gift_bg" />
<ImageView
android:id="@+id/gift_item_iv"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_alignParentLeft="true"
android:layout_alignTop="@+id/gift_item_bg"
android:src="@drawable/details_most_bg"
/>
<TextView
android:id="@+id/gift_item_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/gift_item_what"
android:layout_alignTop="@+id/gift_item_iv"
android:layout_marginBottom="3dp"
android:layout_marginLeft="8dp"
android:layout_marginTop="8dp"
android:layout_toRightOf="@+id/gift_item_iv"
android:maxLength="10"
android:textColor="#fafafa"
android:textSize="10sp" />
<TextView
android:id="@+id/gift_item_what"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/gift_item_bg"
android:layout_alignLeft="@+id/gift_item_name"
android:layout_marginBottom="2dp"
android:textColor="#fbe44d"
android:textSize="10sp" />
</RelativeLayout>
<ImageView
android:id="@+id/gift_item_gift"
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_alignBottom="@+id/gift_view"
android:layout_marginBottom="3dp"
android:layout_alignRight="@+id/gift_view"
/>
<com.ivt.android.me.ui.myview.MagicTextView
android:id="@+id/gift_item_nums"
style="@style/AudioFileInfoOverlayText"
android:layout_alignTop="@+id/gift_item_gift"
android:layout_toRightOf="@+id/gift_view"
/>
</RelativeLayout>
</LinearLayout>