summaryrefslogtreecommitdiff
path: root/ui/common/src/main/res/drawable
diff options
context:
space:
mode:
Diffstat (limited to 'ui/common/src/main/res/drawable')
-rw-r--r--ui/common/src/main/res/drawable/bg_blue_gradient.xml10
-rw-r--r--ui/common/src/main/res/drawable/bg_circle.xml6
-rw-r--r--ui/common/src/main/res/drawable/bg_drawer_item.xml20
-rw-r--r--ui/common/src/main/res/drawable/bg_gradient.xml10
-rw-r--r--ui/common/src/main/res/drawable/bg_pill.xml7
-rw-r--r--ui/common/src/main/res/drawable/bg_rounded_corners.xml6
6 files changed, 59 insertions, 0 deletions
diff --git a/ui/common/src/main/res/drawable/bg_blue_gradient.xml b/ui/common/src/main/res/drawable/bg_blue_gradient.xml
new file mode 100644
index 000000000..8ae045b6d
--- /dev/null
+++ b/ui/common/src/main/res/drawable/bg_blue_gradient.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
+ <gradient
+ android:angle="90"
+ android:endColor="@color/gradient_025"
+ android:startColor="@color/gradient_075"
+ android:type="linear" />
+ <corners
+ android:radius="0dp"/>
+</shape>
diff --git a/ui/common/src/main/res/drawable/bg_circle.xml b/ui/common/src/main/res/drawable/bg_circle.xml
new file mode 100644
index 000000000..0957db5e4
--- /dev/null
+++ b/ui/common/src/main/res/drawable/bg_circle.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color="?attr/colorPrimary" />
+ <corners android:radius="30dp" />
+ <size android:width="60dp" android:height="60dp"/>
+</shape>
diff --git a/ui/common/src/main/res/drawable/bg_drawer_item.xml b/ui/common/src/main/res/drawable/bg_drawer_item.xml
new file mode 100644
index 000000000..40727bf50
--- /dev/null
+++ b/ui/common/src/main/res/drawable/bg_drawer_item.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="?attr/colorSurfaceVariant">
+ <item android:id="@android:id/mask">
+ <shape android:shape="rectangle">
+ <solid android:color="@color/black"/>
+ <corners android:radius="32dp"/>
+ </shape>
+ </item>
+ <item>
+ <selector>
+ <item android:state_selected="true">
+ <shape android:shape="rectangle">
+ <solid android:color="?attr/colorSurfaceVariant"/>
+ <corners android:radius="32dp"/>
+ </shape>
+ </item>
+ <item android:drawable="@android:color/transparent" />
+ </selector>
+ </item>
+</ripple>
diff --git a/ui/common/src/main/res/drawable/bg_gradient.xml b/ui/common/src/main/res/drawable/bg_gradient.xml
new file mode 100644
index 000000000..5022240b3
--- /dev/null
+++ b/ui/common/src/main/res/drawable/bg_gradient.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
+ <gradient
+ android:angle="90"
+ android:endColor="#00ffffff"
+ android:startColor="#ffffffff"
+ android:type="linear" />
+ <corners
+ android:radius="0dp"/>
+</shape> \ No newline at end of file
diff --git a/ui/common/src/main/res/drawable/bg_pill.xml b/ui/common/src/main/res/drawable/bg_pill.xml
new file mode 100644
index 000000000..f5865ccff
--- /dev/null
+++ b/ui/common/src/main/res/drawable/bg_pill.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <stroke
+ android:width="1dp"
+ android:color="?attr/colorPrimary" />
+ <corners android:radius="20dp" />
+</shape> \ No newline at end of file
diff --git a/ui/common/src/main/res/drawable/bg_rounded_corners.xml b/ui/common/src/main/res/drawable/bg_rounded_corners.xml
new file mode 100644
index 000000000..11b7710c4
--- /dev/null
+++ b/ui/common/src/main/res/drawable/bg_rounded_corners.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <corners android:radius="8dp" />
+</shape>