MaterialList
MaterialList copied to clipboard
Cannot add image/icon inside buttons.
Is there a way to add images or icons inside the buttons?
I hope its possible because the welcome card has check icon/image on a button.
Do I need to override or create my own methods to accomplish this?
.addAction(R.id.left_text_button, new TextViewAction(this)
```
> > .setText("RANDOM_CARD")
> > .setTextResourceColor(R.color.black_button)
> > **.setImage() <-- something likea setImage method**
> > .setListener(new OnActionClickListener() {
> > @Override
> > public void onActionClicked(View view, Card card) {
> > Log.d("START", "RANDOM CARD");
> >
>
> ```
I think the easiest way is to copy the layout code from here to your own layout file and define the icon you want.