FloatingActionButton, how does it appear on all screens?

0

How do I get this FloatingActionButton (Email Button) to appear on all my screens, without having to put one on each screen?

    
asked by anonymous 29.03.2017 / 00:04

1 answer

2

The FloatingActionButton is inserted into the created Activity. To have this effect you want it advisable to work by swapping the screen with Fragments . With this the button will always be visible to all the screens because it will be present in the activity while the fragments are exchanged. In case you need to create another Activity you need to insert a new FloatingActionButton .

Example of working with fragments: link

    
30.03.2017 / 00:43