I want to add a button like the "New Mail" button in the Gmail app (The circle button bottom of right with pen icon), which is floating on the screen. Can someone show me how to do this? is it possible to do this without the Material Design guidelines?
This library: https://github.com/futuresimple/android-floating-action-button seems to do a decent job of replicating the Floating Action Button, as well as some of the menu interactions if you're interested in those.
Or just import the official Google FAB sample in Android Studio:
File > Import Sample > search for FloatingActionButtonBasic.
The FloatingActionButton library is part of The Android Open Source Project
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With