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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -