Android button images radius -
hi have button in app , set button style shape when use images
android:src="@drawable/button_background" />
i have problem radius
http://i39.tinypic.com/33vm3gh.png
my shep file
<item android:state_pressed="false"> <layer-list> <item> <bitmap android:src="@drawable/button_background" /> </item> <item> <shape> <gradien android:angle="90" /> <solid android:color="#eeeeee" /> <corners android:toprightradius="0dip" android:topleftradius="0dip" android:bottomleftradius="5dip" android:bottomrightradius="5dip" /> <stroke android:width="1px" android:color="#b7b7b7" /> </shape> </item> </layer-list> </shape>
set button's background transparent or null
android:background="@null"
or
android:background="#00ffffff"
Comments
Post a Comment