This is my Snackbar code :
Snackbar.make(viewHolder.productView, "Some Text Here ..", Snackbar.LENGTH_SHORT)
.setAction("I want be a icon here instead TEXT", new View.OnClickListener() {
@Override
public void onClick(View v) {
// Perform anything for the action selected
}
})
.show();
Is there anyway to add icon instead of text in .setAction
?
I know google suggested not use icon in Snackbar, but I want to use it.