Created
June 22, 2018 08:08
-
-
Save subashz/801007ebf6c6c05185de1e6aa52ec3a2 to your computer and use it in GitHub Desktop.
Glow XML Android Layout
This file contains 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
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item> | |
<shape> | |
<gradient | |
android:startColor="#fff" | |
android:endColor="#fff" | |
android:centerColor="@color/transparent" | |
android:type="linear"/> | |
</shape> | |
</item> | |
<item> | |
<shape> | |
<gradient | |
android:startColor="#fff" | |
android:endColor="#fff" | |
android:centerColor="@color/transparent" | |
android:angle="90" | |
android:type="linear"/> | |
</shape> | |
</item> | |
<item> | |
<shape> | |
<gradient | |
android:startColor="@color/transparent" | |
android:endColor="@color/transparent" | |
android:centerColor="#ff0000" | |
android:gradientRadius="200dp" | |
android:type="radial"/> | |
</shape> | |
</item> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Accidently created glow effect with xml