fengche_dialog_notice.xml
5.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/fengche_sdk_notice_bg"
android:layout_width="500dp"
android:layout_height="320dp"
android:layout_centerInParent="true"
android:background="@drawable/fengche_sdk_notice_bg">
<RelativeLayout
android:id="@+id/fengche_sdk_notice_title"
android:layout_width="490dp"
android:layout_height="48dp"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:background="@drawable/fengche_sdk_notice_title_bg">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="公告"
android:textColor="@android:color/white"
android:textSize="20sp" />
</RelativeLayout>
<ImageView
android:id="@+id/fengche_sdk_notice_no_content"
android:layout_width="147dp"
android:layout_height="121dp"
android:layout_centerInParent="true"
android:contentDescription="@string/fengche_image_content_des"
android:scaleType="centerInside"
android:src="@drawable/fengche_sdk_notice_no_content"
android:visibility="gone" />
<ListView
android:id="@+id/fengche_sdk_notice_title_list_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/fengche_sdk_notice_title"
android:layout_marginStart="5dp"
android:layout_marginEnd="6dp"
android:layout_marginBottom="15dp"
android:divider="@null"
android:scrollbars="none"
android:visibility="gone" />
<RelativeLayout
android:id="@+id/fengche_notice_details"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/fengche_sdk_notice_title"
android:layout_marginStart="5dp"
android:layout_marginEnd="6dp"
android:layout_marginBottom="15dp"
android:visibility="gone">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:id="@+id/fengche_notice_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textColor="#333333"
android:textSize="14sp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="10dp"
android:orientation="horizontal">
<TextView
android:id="@+id/fengche_notice_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#999999"
android:textSize="10sp" />
<TextView
android:id="@+id/fengche_notice_author"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:textColor="#999999"
android:textSize="10sp" />
</LinearLayout>
<WebView
android:id="@+id/fengche_notice_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="10dp"
android:scrollbars="none"
android:textColor="#666666"
android:textSize="12sp" />
</LinearLayout>
<ImageButton
android:id="@+id/fengche_notice_back_btn"
android:layout_width="34dp"
android:layout_height="34dp"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_marginEnd="8dp"
android:background="@android:color/transparent"
android:contentDescription="@string/fengche_image_content_des"
android:scaleType="centerInside"
android:src="@drawable/fengche_sdk_notice_back" />
</RelativeLayout>
</RelativeLayout>
<ImageButton
android:id="@+id/fengche_notice_close_btn"
android:layout_width="34dp"
android:layout_height="34dp"
android:layout_alignTop="@id/fengche_sdk_notice_bg"
android:layout_alignEnd="@id/fengche_sdk_notice_bg"
android:layout_marginTop="-12dp"
android:layout_marginEnd="-10dp"
android:background="@android:color/transparent"
android:contentDescription="@string/fengche_image_content_des"
android:scaleType="centerInside"
android:src="@drawable/fengche_sdk_notice_close" />
</RelativeLayout>