Skip to content

Add background drawable support - #28

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

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

Conversation

@akexorcist

@akexorcist akexorcist commented Jun 15, 2020

Copy link
Copy Markdown

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

1 participant