summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2011-09-14 07:49:18 +0800
committerAngus Kong <shkong@google.com>2011-09-14 14:01:57 +0800
commit8b0e23544474480345937c0c0985429f61569761 (patch)
tree0596365391ae0bef0892ff7bf675505b8fa451ea /res/drawable
parentd798026ec65a87d8517cf8f9be41c9e7db9966a8 (diff)
downloadLegacyCamera-8b0e23544474480345937c0c0985429f61569761.zip
LegacyCamera-8b0e23544474480345937c0c0985429f61569761.tar.gz
LegacyCamera-8b0e23544474480345937c0c0985429f61569761.tar.bz2
Show indication when panning too fast.
bug:5141543 Change-Id: I579fd8583eb01c1f2309b8550f20c14fbe3ea2cf
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/pano_direction_left_indicator.xml21
-rw-r--r--res/drawable/pano_direction_right_indicator.xml21
2 files changed, 42 insertions, 0 deletions
diff --git a/res/drawable/pano_direction_left_indicator.xml b/res/drawable/pano_direction_left_indicator.xml
new file mode 100644
index 0000000..a0bfb0a
--- /dev/null
+++ b/res/drawable/pano_direction_left_indicator.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 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/ic_pan_left_indicator" />
+ <item android:drawable="@drawable/ic_pan_left_indicator_fast" />
+</selector>
diff --git a/res/drawable/pano_direction_right_indicator.xml b/res/drawable/pano_direction_right_indicator.xml
new file mode 100644
index 0000000..c3ce377
--- /dev/null
+++ b/res/drawable/pano_direction_right_indicator.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 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/ic_pan_right_indicator" />
+ <item android:drawable="@drawable/ic_pan_right_indicator_fast" />
+</selector>