xml version="1.0"
encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
>
<corners android:radius="40dp"
/>
<padding
android:left="20dp"
android:right="20dp"
/>
shape>
<gradient
android:centerColor="#FF0000"
android:endColor="#00FF00"
android:startColor="#0000FF"
android:type="sweep"
android:useLevel="false" />
<gradient
android:centerColor="#FF0000"
android:endColor="#00FF00"
android:gradientRadius="150"
android:startColor="#0000FF"
android:type="radial"
android:useLevel="false"
/>
<gradient
android:centerColor="#FF0000"
android:endColor="#00FF00"
android:startColor="#0000FF"
android:type="linear"
android:useLevel="false"
/>
<gradient
android:angle="135"
android:centerColor="#FF0000"
android:endColor="#00FF00"
android:gradientRadius="20"
android:startColor="#0000FF"
android:type="linear"
android:useLevel="false"
/>
Gradient Angles (0,45,90,180,135,225,270)
<stroke
android:dashGap="5dp"
android:dashWidth="10dp"
android:width="10dp"
android:color="#ABCDEF"
>
stroke>
Mohammad Abu Hmead
No comments:
Post a Comment