aboutsummaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-03-01 11:05:40 +0100
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-03-01 11:05:40 +0100
commit2ab6cb0ada6370e6ea83a73e0a6a39ea3ff90715 (patch)
tree180411e193816a07a49f083504e7279db2796430 /res/drawable
parent7b1dd0d0ee170c6892e31b2ef0f66f1c828f24d1 (diff)
hover effect
Diffstat (limited to '')
-rw-r--r--res/drawable/blue.xml5
-rw-r--r--res/drawable/bluebackground.xml9
-rw-r--r--res/drawable/darkblue.xml5
-rw-r--r--res/drawable/darkred.xml5
-rw-r--r--res/drawable/red.xml5
-rw-r--r--res/drawable/redbackground.xml9
6 files changed, 38 insertions, 0 deletions
diff --git a/res/drawable/blue.xml b/res/drawable/blue.xml
new file mode 100644
index 00000000..5692154a
--- /dev/null
+++ b/res/drawable/blue.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <solid android:color="#FF1da9da" />
+</shape> \ No newline at end of file
diff --git a/res/drawable/bluebackground.xml b/res/drawable/bluebackground.xml
new file mode 100644
index 00000000..fbf6d317
--- /dev/null
+++ b/res/drawable/bluebackground.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android" >
+ <item
+ android:state_pressed="false"
+ android:drawable="@drawable/blue" />
+ <item
+ android:state_pressed="true"
+ android:drawable="@drawable/darkblue" />
+</selector>
diff --git a/res/drawable/darkblue.xml b/res/drawable/darkblue.xml
new file mode 100644
index 00000000..b33c38ce
--- /dev/null
+++ b/res/drawable/darkblue.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <solid android:color="#FF0099cc" />
+</shape> \ No newline at end of file
diff --git a/res/drawable/darkred.xml b/res/drawable/darkred.xml
new file mode 100644
index 00000000..1313cc2f
--- /dev/null
+++ b/res/drawable/darkred.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <solid android:color="#ffcc0000" />
+</shape> \ No newline at end of file
diff --git a/res/drawable/red.xml b/res/drawable/red.xml
new file mode 100644
index 00000000..abdc07d6
--- /dev/null
+++ b/res/drawable/red.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <solid android:color="#FFe92727" />
+</shape> \ No newline at end of file
diff --git a/res/drawable/redbackground.xml b/res/drawable/redbackground.xml
new file mode 100644
index 00000000..ddca66f4
--- /dev/null
+++ b/res/drawable/redbackground.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android" >
+ <item
+ android:state_pressed="false"
+ android:drawable="@drawable/red" />
+ <item
+ android:state_pressed="true"
+ android:drawable="@drawable/darkred" />
+</selector>