summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/values-land
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2012-04-06 17:10:57 -0700
committerJim Miller <jaggies@google.com>2012-04-24 17:25:46 -0700
commite898ac59db04d8ab0762180ca8ec7cea1347aa09 (patch)
tree90423586db4f60f5771845b70b336336dc06228d /packages/SystemUI/res/values-land
parentbdb1c4067c2453672652730d12466dc17ff4a120 (diff)
downloadframeworks_base-e898ac59db04d8ab0762180ca8ec7cea1347aa09.zip
frameworks_base-e898ac59db04d8ab0762180ca8ec7cea1347aa09.tar.gz
frameworks_base-e898ac59db04d8ab0762180ca8ec7cea1347aa09.tar.bz2
Fix 6299832: Add search target swipe action to navigation bar on phones
This adds a feature to swipe upward on the navigation bar to invoke voice search on phones. Change-Id: I462076fd43b1c66c5bf624f00b297c6d3414a19a
Diffstat (limited to 'packages/SystemUI/res/values-land')
-rw-r--r--packages/SystemUI/res/values-land/arrays.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values-land/arrays.xml b/packages/SystemUI/res/values-land/arrays.xml
new file mode 100644
index 0000000..53f374d
--- /dev/null
+++ b/packages/SystemUI/res/values-land/arrays.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/* //device/apps/common/assets/res/any/colors.xml
+**
+** Copyright 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.
+*/
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <array name="navbar_search_targets">
+ <item>@null</item>
+ <item>@null</item>
+ <item>@*android:drawable/ic_lockscreen_search</item>
+ <item>@null</item>
+ </array>
+
+ <array name="navbar_search_target_descriptions">
+ <item>@null</item>
+ <item>@null</item>
+ <item>@*android:string/description_target_search</item>
+ <item>@null</item>
+ </array>
+
+ <array name="navbar_search_direction_descriptions">
+ <item>@null</item>
+ <item>@null</item>
+ <item>@*android:string/description_direction_left</item>
+ <item>@null</item>
+ </array>
+
+</resources>