summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-01-20 18:07:39 +0800
committerWu-cheng Li <wuchengli@google.com>2011-01-20 18:27:17 +0800
commitc78fc3aa6501ea8884fa0171c79f5a5079eee2d0 (patch)
tree99d2badc230383a176210a0bb4e95e9864a631eb /res/drawable
parent9ace7a3c3af99226613c4a3a327f5726829f44a5 (diff)
downloadLegacyCamera-c78fc3aa6501ea8884fa0171c79f5a5079eee2d0.zip
LegacyCamera-c78fc3aa6501ea8884fa0171c79f5a5079eee2d0.tar.gz
LegacyCamera-c78fc3aa6501ea8884fa0171c79f5a5079eee2d0.tar.bz2
Fix crash in non-xlarge configuration.
Change-Id: I415c470beb5d340e7c193fd6ee17ca9c1ec172b2
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/btn_shutter_recording.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/res/drawable/btn_shutter_recording.xml b/res/drawable/btn_shutter_recording.xml
new file mode 100644
index 0000000..042af69
--- /dev/null
+++ b/res/drawable/btn_shutter_recording.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_pressed="true" android:drawable="@drawable/btn_shutter_pressed" />
+ <item android:drawable="@drawable/btn_shutter_normal" />
+</selector>
+