-
Star
(135)
You must be signed in to star a gist -
Fork
(42)
You must be signed in to fork a gist
-
-
Save lecho/6473458 to your computer and use it in GitHub Desktop.
| <?xml version="1.0" encoding="utf-8"?> | |
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > | |
| <!-- Drop Shadow Stack --> | |
| <item> | |
| <shape> | |
| <padding | |
| android:bottom="1dp" | |
| android:left="1dp" | |
| android:right="1dp" | |
| android:top="1dp" /> | |
| <solid android:color="#00CCCCCC" /> | |
| <corners android:radius="3dp" /> | |
| </shape> | |
| </item> | |
| <item> | |
| <shape> | |
| <padding | |
| android:bottom="1dp" | |
| android:left="1dp" | |
| android:right="1dp" | |
| android:top="1dp" /> | |
| <solid android:color="#10CCCCCC" /> | |
| <corners android:radius="3dp" /> | |
| </shape> | |
| </item> | |
| <item> | |
| <shape> | |
| <padding | |
| android:bottom="1dp" | |
| android:left="1dp" | |
| android:right="1dp" | |
| android:top="1dp" /> | |
| <solid android:color="#20CCCCCC" /> | |
| <corners android:radius="3dp" /> | |
| </shape> | |
| </item> | |
| <item> | |
| <shape> | |
| <padding | |
| android:bottom="1dp" | |
| android:left="1dp" | |
| android:right="1dp" | |
| android:top="1dp" /> | |
| <solid android:color="#30CCCCCC" /> | |
| <corners android:radius="3dp" /> | |
| </shape> | |
| </item> | |
| <item> | |
| <shape> | |
| <padding | |
| android:bottom="1dp" | |
| android:left="1dp" | |
| android:right="1dp" | |
| android:top="1dp" /> | |
| <solid android:color="#50CCCCCC" /> | |
| <corners android:radius="3dp" /> | |
| </shape> | |
| </item> | |
| <!-- Background --> | |
| <item> | |
| <shape> | |
| <solid android:color="@android:color/white" /> | |
| <corners android:radius="3dp" /> | |
| </shape> | |
| </item> | |
| </layer-list> |
Is this copied from https://stackoverflow.com/questions/5197892/add-shadow-to-custom-shape-on-android ?
How can I make this a smooth shadow? It's somewhat pixelated in view.
thank you so so so much. it perfect shadow button i have been looking for
thank you so muchhhhh. perfect
Sorry, I think this is not at all the solution, its just the workaround.
thanks.. exactly what i was looking ;-)
This is the only solutions work as desired after I google for few hours, thanks.
thanks!
Sweet
thannnk you
Yoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo big thank you .
thanks you
Thank you..
Thanks youuuu ^^
Thanks 🙏🏻
Thanksssss ^^^
Thank you very much !
thanksssssssssssssss
Cool man, Thank you
Thank you!!!
wow, you a life save man, thanks a million
Thanks!
Thank you very much! I have been trying to make a shadow shape for more than two hours.
perfect! finally found, thank you!
✌🏻👌🏻🥳
Cuando vengas a España te invito a una caña jajaja
Thank you, bro! This code helps my project a lot!
Thanks
exactly what i've been looking for
thanks :)