br_dialog_bulletin.xml
2.3 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
<?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/br_dialogBulletinLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/br_shape_bulletin_top_bg">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center_horizontal"
android:text="公告"
android:textColor="#5f5f5f"
android:textSize="15sp"/>
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="10dp"
android:src="@drawable/br_ic_bulletin_main_close"/>
<View
android:id="@+id/br_dialogBulletinClose"
android:layout_width="50dp"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:background="@android:color/transparent"
/>
</RelativeLayout>
<WebView
android:id="@+id/br_dialogBulletinContent"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
<FrameLayout
android:id="@+id/br_dialogBulletinFooter"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/br_shape_bulletin_bottom_bg">
<CheckBox
android:id="@+id/br_dialogBulletinReshow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:button="@drawable/br_bulletin_checkbox_selector"
android:paddingLeft="5dp"
android:text="今日不再显示"
android:textColor="#b4b4b4"
android:textSize="13sp"/>
</FrameLayout>
</LinearLayout>