How to set the glow effect on ImageView?

I have tried this. but this does not work with ImageView. but this code does not set the external glow on the image.

android:shadowColor="#7ccb16" android:shadowDx="0" android:shadowDy="0" android:shadowRadius="3" 

tell me how to do this.

+4
source share
1 answer

Link form here

using the nine folder tool in sroid sroid.

 <ImageView android:id="@+id/image_test" android:background="@drawable/drop_shadow" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingLeft="6px" android:paddingTop="4px" android:paddingRight="8px" android:paddingBottom="9px" android:src="@drawable/pic1" /> 

I hope this will be helpful to you.

+1
source

All Articles