[Android] SnackBar 샘플 코드
말보다는 코딩! DrawerLayout layout = (DrawerLayout)activity.findViewById(R.id.drawer_layout); Snackbar.make(layout, message, Snackbar.LENGTH_INDEFINITE) .setAction(“설정”, new View.OnClickListener() { @Override public void onClick(View v) { // do something } }).show();