

Important Note: If you’ve been following these Android Tutorials well, you must have noticed that with the new build tools update to 23.1.1 the project structure of a new empty project has changed and the above mentioned widgets are present by default in a new Android Studio Project. We have discussed SnackBar at length in another tutorial. A SnackBar is invoked as follows: Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG) SnackBar is a more enhanced widget when compared to a Toast. A CoordinatorLayout helps facilitate interactions between views contained within it, which will be useful later to describe how to animate the button depending on scroll changes.


It’s a cool and stylish way to get user’s attention to it. Android Floating Action ButtonĪndroid Floating Action Button is used to pay emphasis to the most important function on the screen. We’ll discuss the FloatingActionButton, that’s a new component included in the Material Design Guidelines and SnackBar, which is a Material Design replacement of a Toast. Today we will learn about Android Floating Action Button.
