Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new style ressource I am using in my app #101

Closed
wants to merge 1 commit into from
Closed

new style ressource I am using in my app #101

wants to merge 1 commit into from

Conversation

valllllll2000
Copy link

Hi,
First of all thanks for this great library!!!
I have tried to use a shape drawable defined in xml but it did not work so I added a new field
in styles so I thought you might be interested in including it.
I have added an example in the sample application to show that it works.

Regards,
Valeria

defined in xml such as shapes and gradients as
background ressource
also updated demo to include an example of how it works
@keyboardsurfer
Copy link
Owner

Thanks for the pull request.
Currently a user of the library can inflate the Drawable before passing it to the Crouton.
Did you have issues with the current way?

@valllllll2000
Copy link
Author

The current way works fine if you use an image ej: .png but when I define my drawable in xml it is ignored, I have even tried to set tile mode repeat to true but the background is ingored/becomes transparent

@keyboardsurfer
Copy link
Owner

See #169

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.

2 participants