Created
January 17, 2017 17:05
-
-
Save dario61081/1b4d2183a575589d4423620a33534534 to your computer and use it in GitHub Desktop.
SnackBarItem for error messages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//mensaje de error | |
SnackBarItem.Builder b = new SnackBarItem.Builder(getActivity()); | |
b.setMessage(getString(R.string.str_credenciales_invalidas)); | |
b.setSnackBarBackgroundColor(getResources().getColor(R.color.danger_dark)); | |
b.setActionMessageColor(Color.WHITE); | |
b.show(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment