dialog_float_gone.xml
2.5 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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:background="#ffffff"
android:layout_height="wrap_content">
<TextView
android:id="@+id/text1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="10dp"
android:text="翻一翻隐藏/显示小图标"
android:textSize="16dp"
android:textColor="#FF6905"
/>
<ImageView
android:id="@+id/image_animation"
android:layout_below="@+id/text1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_centerHorizontal="true"
/>
<ImageView
android:layout_below="@+id/image_animation"
android:id="@+id/image_gone"
android:layout_width="20dp"
android:layout_height="20dp"
android:src="@drawable/wancms_gone_img1"
android:layout_marginLeft="10dp"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/image_animation"
android:layout_toRightOf="@id/image_gone"
android:text="不再显示" />
<View android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#f5f5f5"
android:layout_below="@+id/image_gone"
android:layout_marginTop="10dp"/>
<LinearLayout
android:layout_below="@+id/image_gone"
android:layout_marginTop="11dp"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="50dp"
>
<TextView
android:id="@+id/float_dialog_cancel"
android:text="取消"
android:gravity="center"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
/>
<View
android:background="#f5f5f5"
android:layout_width="1dp"
android:layout_height="match_parent"
/>
<TextView
android:id="@+id/float_dialog_hide"
android:text="隐藏"
android:layout_width="0dp"
android:gravity="center"
android:textColor="#FF6905"
android:layout_height="match_parent"
android:layout_weight="1"
/>
</LinearLayout>
</RelativeLayout>