Skip to content

New Feature: Added support for background drawables#42

Open
tamimattafi wants to merge 45 commits intofornewid:mainfrom
tamimattafi:master
Open

New Feature: Added support for background drawables#42
tamimattafi wants to merge 45 commits intofornewid:mainfrom
tamimattafi:master

Conversation

@tamimattafi
Copy link
Copy Markdown

@tamimattafi tamimattafi commented Aug 28, 2020

Drawables can be referenced through this attribute: neumorph_backgroundDrawable
Drawables are clipped depending on the selected shape

Examples were added to the sample app at: activity_main.xml using the current available drawable: @drawable/gradation

@fornewid
Copy link
Copy Markdown
Owner

fornewid commented Sep 3, 2020

First, thanks for contribution! 👍
I think, this feature is good.
Unfortunately, the current PR doesn't seem to support StateListDrawable.
I'll try another solution until this weekend. 🤔
Then I'll either merge the current PRs or add some patches.

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.

3 participants