diff options
| author | zeapo <mohamed@zenadi.com> | 2014-08-17 14:27:40 +0200 |
|---|---|---|
| committer | zeapo <mohamed@zenadi.com> | 2014-08-17 14:27:40 +0200 |
| commit | 68623dcf8d0fabd121cf7c34ecb4dafe9478cceb (patch) | |
| tree | 4ae7e1f93f50160654a1c80e5e466fbee973395f /app/src/main/res/drawable/oval.xml | |
| parent | 2c680cab593b6c58988e058c1c775fa9c1476b28 (diff) | |
| download | HardenedPass-68623dcf8d0fabd121cf7c34ecb4dafe9478cceb.tar.gz HardenedPass-68623dcf8d0fabd121cf7c34ecb4dafe9478cceb.zip | |
ui improvements
Diffstat (limited to 'app/src/main/res/drawable/oval.xml')
| -rw-r--r-- | app/src/main/res/drawable/oval.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/oval.xml b/app/src/main/res/drawable/oval.xml new file mode 100644 index 00000000..d2149d04 --- /dev/null +++ b/app/src/main/res/drawable/oval.xml @@ -0,0 +1,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>
\ No newline at end of file |
