zw_float_menu_left.xml
3.0 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:background="@drawable/zw_float_menu_shape"
android:orientation="horizontal">
<FrameLayout
android:id="@+id/fl_float_bar"
android:layout_width="40dp"
android:layout_height="40dp"
android:addStatesFromChildren="true"
android:orientation="vertical">
<ImageView
android:id="@+id/iv_bar"
android:layout_width="40dp"
android:layout_height="40dp"
android:background="@drawable/zw_float" />
<View
android:id="@+id/round_msg"
android:layout_width="6dp"
android:layout_height="6dp"
android:layout_alignRight="@+id/iv_bar"
android:layout_gravity="right"
android:layout_margin="2dp"
android:background="@drawable/zw_shape_red_point"
android:visibility="gone" />
</FrameLayout>
<LinearLayout
android:id="@+id/menu"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:orientation="horizontal"
android:paddingRight="10dp">
<LinearLayout
android:id="@+id/ll_account"
style="@style/ZW_FloatMenu_Layout_Style">
<ImageView
style="@style/ZW_FloatMenu_Image_Style"
android:background="@drawable/zw_account" />
<TextView
style="@style/ZW_FloatMenu_Text_Style"
android:text="账号" />
</LinearLayout>
<LinearLayout
android:id="@+id/ll_news"
style="@style/ZW_FloatMenu_Layout_Style">
<ImageView
style="@style/ZW_FloatMenu_Image_Style"
android:background="@drawable/zw_news" />
<TextView
style="@style/ZW_FloatMenu_Text_Style"
android:text="公告" />
</LinearLayout>
<FrameLayout style="@style/ZW_FloatMenu_Layout_Style">
<LinearLayout
android:id="@+id/ll_custom"
style="@style/ZW_FloatMenu_Layout_Style">
<ImageView
style="@style/ZW_FloatMenu_Image_Style"
android:background="@drawable/zw_custom" />
<TextView
style="@style/ZW_FloatMenu_Text_Style"
android:text="客服" />
</LinearLayout>
<View
android:id="@+id/round_custom_msg"
android:layout_width="6dp"
android:layout_height="6dp"
android:layout_alignRight="@+id/iv_bar"
android:layout_gravity="right"
android:layout_margin="2dp"
android:background="@drawable/zw_shape_red_point"
android:visibility="gone" />
</FrameLayout>
</LinearLayout>
</LinearLayout>