Skip to content

Add background drawable support#28

Open
akexorcist wants to merge 2 commits intomatecode:masterfrom
akexorcist:background-drawable-support
Open

Add background drawable support#28
akexorcist wants to merge 2 commits intomatecode:masterfrom
akexorcist:background-drawable-support

Conversation

@akexorcist
Copy link

@akexorcist akexorcist commented Jun 15, 2020

Sometime, we need to custom the Snackbar's background. So I added the setter for background by drawable resource

Snacky.builder()
    .setBackgroundResource(R.drawable.shape_background_white_round_corner)
    ...
    .build()
    .show();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant