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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -