Share to EffectHub.com

You can earn money or coins from your share:)

Tips: you can use Sparticle for uploading away3D effects.

Tips: you can download Sparticle for uploading effects.

Tips: The ActionScript editor is supporting Away3D, Starling, Dragonbones and Flex frameworks.

Tips: paste the web page URL then click button:)

EffectHub.com: Your Best Source for Gaming
Login    or

Android:Create a shadow in shape

<?xml version="1.0" encoding="utf-8"?><layer-list xmlns:android="http://schemas.android.com/apk/res/android" >    <!-- "background shadow" -->    <item>        <shape android:shape="rectangle" >            <solid android:color="#000000" />            <corners android:radius="15dp" />        </shape>    </item>    <!-- background color -->    <item        android:bottom="3px"        android:left="3px"        android:right="3px"        android:top="3px">        <shape android:shape="rectangle" >            <solid android:color="#cc2b2b" />            <corners android:radius="8dp" />        </shape>    </item>    <!-- over left shadow -->    <item>        <shape android:shape="rectangle" >            <gradient                android:angle="180"                android:centerColor="#00FF0000"                android:centerX="0.9"                android:endColor="#99000000"                android:startColor="#00FF0000" />            <corners android:radius="8dp" />        </shape>    </item>    <!-- over right shadow -->    <item>        <shape android:shape="rectangle" >            <gradient                android:angle="360"                android:centerColor="#00FF0000"                android:centerX="0.9"                android:endColor="#99000000"                android:startColor="#00FF0000" />            <corners android:radius="8dp" />        </shape>    </item>    <!-- over top shadow -->    <item>        <shape android:shape="rectangle" >            <gradient                android:angle="-90"                android:centerColor="#00FF0000"                android:centerY="0.9"                android:endColor="#00FF0000"                android:startColor="#99000000"                android:type="linear" />            <corners android:radius="8dp" />        </shape>    </item>    <!-- over bottom shadow -->    <item>        <shape android:shape="rectangle" >            <gradient                android:angle="90"                android:centerColor="#00FF0000"                android:centerY="0.9"                android:endColor="#00FF0000"                android:startColor="#99000000"                android:type="linear" />            <corners android:radius="8dp" />        </shape>    </item></layer-list>


...

You must Sign up as a member of Effecthub to view the content.

11238 views    1 comments

You must Sign up as a member of Effecthub to join the conversation.

Join Effecthub.com


Or Login with Your Email Address:

Or Sign Up with Your Email Address:
This field must contain a valid email
Password should be at least 1 character