show Alert Long via Snackbar - Android User Interface

Android examples for User Interface:Alert Dialog

Description

show Alert Long via Snackbar

Demo Code


import android.support.design.widget.Snackbar;
import android.view.View;

public class Main{
    public static void showAlertLong(View view, String message) {
        Snackbar.make(view, message, Snackbar.LENGTH_LONG).show();
    }//  w w w  . j  a v a  2 s.c o m
}

Related Tutorials