|
|
|
@ -12,12 +12,70 @@
@@ -12,12 +12,70 @@
|
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" /> |
|
|
|
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton |
|
|
|
|
android:id="@+id/didi_check_btn" |
|
|
|
|
|
|
|
|
|
<com.github.clans.fab.FloatingActionMenu |
|
|
|
|
android:id="@+id/didi_check_menu" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_gravity="bottom|end" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:layout_marginBottom="16dp" |
|
|
|
|
app:srcCompat="@android:drawable/ic_input_add" /> |
|
|
|
|
android:layout_alignParentBottom="true" |
|
|
|
|
android:layout_alignParentRight="true" |
|
|
|
|
android:layout_marginRight="10dp" |
|
|
|
|
android:layout_marginBottom="10dp" |
|
|
|
|
android:layout_marginLeft="10dp" |
|
|
|
|
app:menu_fab_size="normal" |
|
|
|
|
app:menu_showShadow="true" |
|
|
|
|
app:menu_shadowColor="#66000000" |
|
|
|
|
app:menu_shadowRadius="4dp" |
|
|
|
|
app:menu_shadowXOffset="1dp" |
|
|
|
|
app:menu_shadowYOffset="3dp" |
|
|
|
|
app:menu_colorNormal="#DA4336" |
|
|
|
|
app:menu_colorPressed="#E75043" |
|
|
|
|
app:menu_colorRipple="#99FFFFFF" |
|
|
|
|
app:menu_animationDelayPerItem="50" |
|
|
|
|
app:menu_icon="@drawable/fab_add" |
|
|
|
|
app:menu_buttonSpacing="0dp" |
|
|
|
|
app:menu_labels_margin="0dp" |
|
|
|
|
app:menu_labels_showAnimation="@anim/fab_slide_in_from_right" |
|
|
|
|
app:menu_labels_hideAnimation="@anim/fab_slide_out_to_right" |
|
|
|
|
app:menu_labels_paddingTop="4dp" |
|
|
|
|
app:menu_labels_paddingRight="8dp" |
|
|
|
|
app:menu_labels_paddingBottom="4dp" |
|
|
|
|
app:menu_labels_paddingLeft="8dp" |
|
|
|
|
app:menu_labels_padding="8dp" |
|
|
|
|
app:menu_labels_textColor="#FFFFFF" |
|
|
|
|
app:menu_labels_textSize="14sp" |
|
|
|
|
app:menu_labels_cornerRadius="3dp" |
|
|
|
|
app:menu_labels_colorNormal="#333333" |
|
|
|
|
app:menu_labels_colorPressed="#444444" |
|
|
|
|
app:menu_labels_colorRipple="#66FFFFFF" |
|
|
|
|
app:menu_labels_showShadow="true" |
|
|
|
|
app:menu_labels_singleLine="false" |
|
|
|
|
app:menu_labels_ellipsize="none" |
|
|
|
|
app:menu_labels_maxLines="-1" |
|
|
|
|
app:menu_labels_style="@style/Animation.Design.BottomSheetDialog" |
|
|
|
|
app:menu_labels_position="left" |
|
|
|
|
app:menu_openDirection="up" |
|
|
|
|
app:menu_backgroundColor="@android:color/transparent" |
|
|
|
|
app:menu_fab_label="" |
|
|
|
|
app:menu_fab_show_animation="@anim/fab_scale_up" |
|
|
|
|
app:menu_fab_hide_animation="@anim/fab_scale_down"> |
|
|
|
|
|
|
|
|
|
<com.github.clans.fab.FloatingActionButton |
|
|
|
|
android:id="@+id/menu_item1" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:src="@drawable/ic_launcher_background" |
|
|
|
|
app:fab_size="mini" |
|
|
|
|
app:fab_label="Menu item 1" /> |
|
|
|
|
|
|
|
|
|
<com.github.clans.fab.FloatingActionButton |
|
|
|
|
android:id="@+id/menu_item2" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:src="@drawable/ic_launcher_background" |
|
|
|
|
app:fab_size="mini" |
|
|
|
|
app:fab_label="Menu item 2" /> |
|
|
|
|
|
|
|
|
|
</com.github.clans.fab.FloatingActionMenu> |
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |