diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-03-01 11:05:40 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-03-01 11:05:40 +0100 |
commit | 2ab6cb0ada6370e6ea83a73e0a6a39ea3ff90715 (patch) | |
tree | 180411e193816a07a49f083504e7279db2796430 /res/drawable/redbackground.xml | |
parent | 7b1dd0d0ee170c6892e31b2ef0f66f1c828f24d1 (diff) |
hover effect
Diffstat (limited to '')
-rw-r--r-- | res/drawable/redbackground.xml | 9 |
1 files changed, 9 insertions, 0 deletions
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> |