zendesk / android-floating-action-button

Floating Action Button for Android based on Material Design specification
Apache License 2.0
6.38k stars 1.45k forks source link

is any possible to change "plus" icon in com.getbase.floatingactionbutton.FloatingActionsMenu ? #312

Open shyamkumarm opened 8 years ago

shyamkumarm commented 8 years ago

<com.getbase.floatingactionbutton.FloatingActionsMenu android:id="@+id/multiple_actions" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentRight="true" android:layout_alignParentEnd="true" fab:fab_addButtonColorNormal="@color/blue_semi_transparent" fab:fab_addButtonColorPressed="@color/white_pressed" fab:fab_addButtonPlusIconColor="@color/half_black" fab:fab_labelStyle="@style/menu_labels_style" android:layout_marginBottom="16dp" android:layout_marginRight="16dp" android:layout_marginEnd="16dp"> />

ghost commented 8 years ago

https://github.com/futuresimple/android-floating-action-button/issues/300

bygideon commented 7 years ago

You can simply swap the default icon with the following code: fab:fab_icon="@drawable/your_icon"

afunnyrainman commented 6 years ago

fab:fab_icon="@mipmap/ic_launcher" Do not work

afunnyrainman commented 6 years ago

d9dbcd25-3e2c-4a5b-b59f-199edd567a97 don't use it。