OSDN Git Service

Move LightCycle undo to settings area.
authorGeorge Mount <mount@google.com>
Fri, 5 Oct 2012 23:17:13 +0000 (16:17 -0700)
committerGeorge Mount <mount@google.com>
Fri, 5 Oct 2012 23:52:28 +0000 (16:52 -0700)
 Bug 7294328

Change-Id: I7bfbcf030f9c4e70b58b47ddab328a9063af007e

res/drawable/btn_undo.xml [new file with mode: 0644]
res/drawable/filtershow_button_undo_disabled.png [new file with mode: 0644]

diff --git a/res/drawable/btn_undo.xml b/res/drawable/btn_undo.xml
new file mode 100644 (file)
index 0000000..3323255
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 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_enabled="false" android:drawable="@drawable/filtershow_button_undo_disabled" />
+    <item android:drawable="@drawable/filtershow_button_undo" />
+</selector>
+
diff --git a/res/drawable/filtershow_button_undo_disabled.png b/res/drawable/filtershow_button_undo_disabled.png
new file mode 100644 (file)
index 0000000..6d42aa8
Binary files /dev/null and b/res/drawable/filtershow_button_undo_disabled.png differ