|
@@ -4,6 +4,7 @@
|
4
|
4
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
5
|
5
|
xmlns:tools="http://schemas.android.com/tools"
|
6
|
6
|
xmlns:ads="http://schemas.android.com/apk/res-auto"
|
|
7
|
+ xmlns:fab="http://schemas.android.com/apk/res-auto"
|
7
|
8
|
android:layout_width="match_parent"
|
8
|
9
|
android:layout_height="match_parent"
|
9
|
10
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
@@ -21,6 +22,62 @@
|
21
|
22
|
android:layout_above="@+id/adView">
|
22
|
23
|
</FrameLayout>
|
23
|
24
|
|
|
25
|
+ <com.github.clans.fab.FloatingActionMenu
|
|
26
|
+ android:id="@+id/fab"
|
|
27
|
+ android:layout_width="match_parent"
|
|
28
|
+ android:layout_height="match_parent"
|
|
29
|
+ fab:menu_fab_size="normal"
|
|
30
|
+ fab:menu_showShadow="true"
|
|
31
|
+ fab:menu_shadowColor="#66000000"
|
|
32
|
+ fab:menu_shadowRadius="4dp"
|
|
33
|
+ fab:menu_shadowXOffset="1dp"
|
|
34
|
+ fab:menu_shadowYOffset="3dp"
|
|
35
|
+ fab:menu_colorNormal="#DA4336"
|
|
36
|
+ fab:menu_colorPressed="#E75043"
|
|
37
|
+ fab:menu_colorRipple="#99FFFFFF"
|
|
38
|
+ fab:menu_animationDelayPerItem="50"
|
|
39
|
+ fab:menu_buttonSpacing="0dp"
|
|
40
|
+ fab:menu_labels_margin="0dp"
|
|
41
|
+ fab:menu_labels_showAnimation="@anim/fab_slide_in_from_right"
|
|
42
|
+ fab:menu_labels_hideAnimation="@anim/fab_slide_out_to_right"
|
|
43
|
+ fab:menu_labels_paddingRight="8dp"
|
|
44
|
+ fab:menu_labels_paddingBottom="4dp"
|
|
45
|
+ fab:menu_labels_padding="8dp"
|
|
46
|
+ fab:menu_labels_textColor="#FFFFFF"
|
|
47
|
+ fab:menu_labels_textSize="14sp"
|
|
48
|
+ fab:menu_labels_cornerRadius="3dp"
|
|
49
|
+ fab:menu_labels_colorNormal="#333333"
|
|
50
|
+ fab:menu_labels_colorPressed="#444444"
|
|
51
|
+ fab:menu_labels_colorRipple="#66FFFFFF"
|
|
52
|
+ fab:menu_labels_showShadow="true"
|
|
53
|
+ fab:menu_labels_singleLine="false"
|
|
54
|
+ fab:menu_labels_ellipsize="none"
|
|
55
|
+ fab:menu_labels_maxLines="-1"
|
|
56
|
+ fab:menu_labels_position="left"
|
|
57
|
+ fab:menu_openDirection="up"
|
|
58
|
+ fab:menu_backgroundColor="@android:color/transparent"
|
|
59
|
+ fab:menu_fab_label="@string/stop_add"
|
|
60
|
+ app:menu_icon="@drawable/ic_add_white_24dp"
|
|
61
|
+ android:layout_above="@+id/adView">
|
|
62
|
+
|
|
63
|
+ <com.github.clans.fab.FloatingActionButton
|
|
64
|
+ android:id="@+id/fab_item_add_map"
|
|
65
|
+ android:layout_width="wrap_content"
|
|
66
|
+ android:layout_height="wrap_content"
|
|
67
|
+ android:src="@drawable/ic_map_white_24dp"
|
|
68
|
+ fab:fab_size="mini"
|
|
69
|
+ fab:fab_label="@string/stop_add_map" />
|
|
70
|
+
|
|
71
|
+ <com.github.clans.fab.FloatingActionButton
|
|
72
|
+ android:id="@+id/fab_item_add_list"
|
|
73
|
+ android:layout_width="wrap_content"
|
|
74
|
+ android:layout_height="wrap_content"
|
|
75
|
+ android:src="@drawable/ic_dehaze_white_24dp"
|
|
76
|
+ fab:fab_size="mini"
|
|
77
|
+ fab:fab_label="@string/stop_add_list" />
|
|
78
|
+
|
|
79
|
+ </com.github.clans.fab.FloatingActionMenu>
|
|
80
|
+
|
24
|
81
|
<com.google.android.gms.ads.AdView
|
25
|
82
|
android:id="@+id/adView"
|
26
|
83
|
android:layout_width="wrap_content"
|