Closed rashmitank27 closed 4 years ago
This library uses android:background
to draw neumorphism decoration.
So you can't use android:background
attributes for Neumoprh widgets. (Not working)
Instead you can get it by adding a view that draws the background. See the following code:
<soup.neumorphism.NeumorphCardView>
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/gradation" />
</soup.neumorphism.NeumorphCardView>
If it still reproduces, please reopen.
i can not add gradiant background to neu button too. what should i do?
I am not able to set gradient background to NeumorphCardView. Please give me example on how to do it.