summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2013-09-26 16:28:27 -0700
committerAdam Cohen <adamcohen@google.com>2013-09-26 16:28:48 -0700
commited0c999ac3f25ba2d7917a153d19079eb3499f73 (patch)
tree7fcc5a18c1b2b8332b3b05a3a1de2d7c306a87ad /res/drawable
parenta29f5047f004062a9fcee5fb8a4b90fdd56f7d0a (diff)
downloadandroid_packages_apps_Trebuchet-ed0c999ac3f25ba2d7917a153d19079eb3499f73.tar.gz
android_packages_apps_Trebuchet-ed0c999ac3f25ba2d7917a153d19079eb3499f73.tar.bz2
android_packages_apps_Trebuchet-ed0c999ac3f25ba2d7917a153d19079eb3499f73.zip
Adding pressed state to overview mode buttons (issue 10926631)
Change-Id: I9d670d4770e56921310d34dc08657a6e753ec5ee
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/setting_button.xml21
-rw-r--r--res/drawable/wallpaper_button.xml21
-rw-r--r--res/drawable/widget_button.xml21
3 files changed, 63 insertions, 0 deletions
diff --git a/res/drawable/setting_button.xml b/res/drawable/setting_button.xml
new file mode 100644
index 000000000..4d66a1ac7
--- /dev/null
+++ b/res/drawable/setting_button.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_focused="true" android:drawable="@drawable/ic_setting_pressed" />
+ <item android:state_pressed="true" android:drawable="@drawable/ic_setting_pressed" />
+ <item android:drawable="@drawable/ic_setting" />
+</selector>
diff --git a/res/drawable/wallpaper_button.xml b/res/drawable/wallpaper_button.xml
new file mode 100644
index 000000000..72da99d05
--- /dev/null
+++ b/res/drawable/wallpaper_button.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_focused="true" android:drawable="@drawable/ic_wallpaper_pressed" />
+ <item android:state_pressed="true" android:drawable="@drawable/ic_wallpaper_pressed" />
+ <item android:drawable="@drawable/ic_wallpaper" />
+</selector>
diff --git a/res/drawable/widget_button.xml b/res/drawable/widget_button.xml
new file mode 100644
index 000000000..6936c87a0
--- /dev/null
+++ b/res/drawable/widget_button.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_focused="true" android:drawable="@drawable/ic_widget_pressed" />
+ <item android:state_pressed="true" android:drawable="@drawable/ic_widget_pressed" />
+ <item android:drawable="@drawable/ic_widget" />
+</selector>