aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/drawable/oval.xml
blob: d2149d04ce759604af49d25c4b52aa40d1ff3d94 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="utf-8"?>

<layer-list xmlns:android="http://schemas.android.com/apk/res/android">

    <item>
        <shape android:shape="oval"  android:dither="true">
            <corners android:radius="2dp"/>
            <solid android:color="#eee" />
            <gradient
                android:startColor="#aaa"
                android:centerColor="#aaa"
                android:endColor="@android:color/transparent"
                android:gradientRadius="55"
                android:type="radial"
                />

            <padding android:bottom="5dp"
                android:left="5dp"
                android:right="5dp"
                android:top="5dp" />
        </shape>
    </item>

    <item>
        <shape android:shape="oval"   android:dither="true">
            <corners android:radius="2dp" />
            <solid android:color="@android:color/white" />

            <padding android:bottom="8dp"
                android:left="8dp"
                android:right="8dp"
                android:top="8dp" />
        </shape>
    </item>


</layer-list>