Snackbar简单使用
Snackbar.make(rootLayout, "Snackbar", Snackbar.LENGTH_SHORT)
.setAction("Save?", new View.OnClickListener() {
@Override
public void onClick(View view) {
ToastUtil.showShort(getApplicationContext()
, "FloatingActionButton-->Snackbar");
}
}).show();