Added Android code
[wl-app.git] / Android / app / src / main / res / drawable / selector_button_white_border.xml
diff --git a/Android/app/src/main/res/drawable/selector_button_white_border.xml b/Android/app/src/main/res/drawable/selector_button_white_border.xml
new file mode 100644 (file)
index 0000000..57d641f
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+
+    <item android:state_pressed="true">
+        <shape android:shape="rectangle">
+            <corners android:radius="20dp"/>
+            <solid android:color="@color/white"/>
+        </shape>
+    </item>
+
+    <item>
+        <layer-list>
+            <item>
+                <shape android:shape="rectangle">
+                    <corners android:radius="20dp"/>
+                    <solid android:color="@color/white"/>
+                </shape>
+            </item>
+            <item
+                android:bottom="@dimen/rounded_buttons_border_width"
+                android:left="@dimen/rounded_buttons_border_width"
+                android:right="@dimen/rounded_buttons_border_width"
+                android:top="@dimen/rounded_buttons_border_width">
+                <shape android:shape="rectangle">
+                    <corners android:radius="20dp"/>
+                    <solid android:color="@color/colorPrimary"/>
+                </shape>
+            </item>
+        </layer-list>
+    </item>
+
+</selector>
\ No newline at end of file