Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

button

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item>
    <shape android:shape="rectangle">
        <solid android:color="#DEB887"/>
        <stroke android:color="#8A2BE2" android:width="2dp" />
        <!--corners allow us to make the rounded corners button-->
        <corners android:radius="15dp" />
    </shape>
</item>
</selector>
Source by www.android--code.com #
 
PREVIOUS NEXT
Tagged: #button
ADD COMMENT
Topic
Name
2+7 =