Up next

Android tutorial (2018) - 58- Pop Up Message Using Snackbar

9 Views· 14 Aug 2019
ITCOURSES
ITCOURSES
5 subscribers
0

This video demonstrate how to use Snackbar in your Android Application.

You can use Snackbar for display a brief message to the user. This message will go away after a specific time. The snackbar is suitable for display messages on witch the user doesn't need to act on.

For showing a Snackbar follow the step given bellow.

1 . Create a CoordinatorLayout.
The Snackbar provide more functionality when it is attached to a coordinatorlayout.

2. Create a Snackbar Object.
Call the Snacknar.make() method .
This method takes three parameters. ViewId, StringId, and Duration.
3. Finally call the show meyhod on the snackbar object .

Like my Facebook page : https://www.facebook.com/codeglympse
Subscribe My YouTube channel : http://www.youtube.com/ticoontechnologies

Show more
100% online learning from the world's best universities, organisations and Instructors

 0 Comments sort   Sort By


Up next