How do you add a shadow on a button with your own colour? The button is set on a gradient background and I have various buttons that require shadows (preferably different colours). Can this be done or if not, how would I create a standard shadow?
Asked
Active
Viewed 45 times
0
-
There are some tricks but depends on what kind of shadow you need. Add a screenshot or an image that shows the shadow, so people can help you. – aytek Mar 22 '20 at 20:40
-
@aytek I've just added a couple of screenshots – SK1dev Mar 22 '20 at 20:46
-
This may help https://stackoverflow.com/questions/29187313/android-change-material-elevation-shadow-color – aytek Mar 22 '20 at 21:15
-
https://stackoverflow.com/questions/15333529/how-to-provide-shadow-to-button – Shimaa Yasser Mar 23 '20 at 00:16