java - Android Snackbar setAction displaying button with text instead just text -
i need create snackbar, text, when click on it, snackbar close. instead of text, action button rendered button action text. i've never seen such problem anywhere. version of android.support.design v7: 25.3.1. min api version 16.
snackbar snackbar = snackbar.make(v_osnov, html.fromhtml(" <fontcolor=\"#ffffff\">tag deleted</font>") , snackbar.length_indefinite); snackbar.setduration(5000); snackbar.setaction("dismiss", new view.onclicklistener() { @override public void onclick(view view) { } }); snackbar.show();
this getting instead of action text:
Comments
Post a Comment