I have a requirement to put a floating action button on all screens of the application. I don't define all layout files, instead there any way I can generate dynamically and visible on all screens of the application.
Asked
Active
Viewed 729 times
1 Answers
1
Yes , it's possible. You could create one activity and multiple fragments with the current layout:
FrameLayout
-Framelayout container
-Your floating button
Then replace fragments in your container layout :).
You have to handle the floating button events in your activity.

diegoveloper
- 93,875
- 20
- 236
- 194