Forked from saturov/long_shadow_radial_gradient.xml
Created
February 13, 2021 23:08
-
-
Save nexy791/80d351ff2f39c03dd1704769bedea31d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <vector ...> | |
| <path android:name="long-shadow" | |
| android:pathData="..."> | |
| <aapt:attr name="android:fillColor"> | |
| <gradient | |
| android:type="radial" | |
| android:centerX="54" | |
| android:centerY="54" | |
| android:gradientRadius="76.37"> | |
| <!-- 15% black from center to 32% stop --> | |
| <item android:offset="0.0" android:color="#26000000" /> | |
| <item android:offset="0.32" android:color="#26000000" /> | |
| <!-- 2% black at 62% stop --> | |
| <item android:offset="0.62" android:color="#05000000" /> | |
| <!-- fade to transparent --> | |
| <item android:offset="1.0" android:color="#00000000" /> | |
| </gradient> | |
| </aapt:attr> | |
| </path> | |
| ... | |
| </vector> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment