summaryrefslogtreecommitdiffstats
path: root/quickReader
diff options
context:
space:
mode:
authorJoey Rizzoli <joey@lineageos.org>2017-12-15 21:54:27 +0100
committerBruno Martins <bgcngm@gmail.com>2018-11-20 12:32:17 +0000
commitfccde2cf40e1e03deed2e56aad705b85bb58e94a (patch)
tree82202c555446c51660d655835021481de9780371 /quickReader
parentfe30f91881b9b7d76a9c404bafcbe19f240e0a61 (diff)
downloadandroid_packages_apps_Snap-fccde2cf40e1e03deed2e56aad705b85bb58e94a.tar.gz
android_packages_apps_Snap-fccde2cf40e1e03deed2e56aad705b85bb58e94a.tar.bz2
android_packages_apps_Snap-fccde2cf40e1e03deed2e56aad705b85bb58e94a.zip
Snap: add QReader to module switch
Author: Joey Rizzoli <joey@lineageos.org> Date: Fri Dec 15 21:54:27 2017 +0100 Snap: add QReader to module switch Change-Id: I7cc33c7ebc6de35d19979a9a70f198029e46d88f Signed-off-by: Joey Rizzoli <joey@lineageos.org> Author: Arne Coucheron <arco68@gmail.com> Date: Sun Jan 14 16:53:49 2018 +0100 QuickReader: Match switch icon size and fill color with other icons Change-Id: I9bfa84ed1ea188470cb9a58c5d59cf8a6b270215 Change-Id: Ia7f575bf6cab7d24a6d1ad167b44a02feb1457d2
Diffstat (limited to 'quickReader')
-rw-r--r--quickReader/res/drawable/ic_cam_switcher_qr.xml24
-rw-r--r--quickReader/res/values/strings.xml3
2 files changed, 27 insertions, 0 deletions
diff --git a/quickReader/res/drawable/ic_cam_switcher_qr.xml b/quickReader/res/drawable/ic_cam_switcher_qr.xml
new file mode 100644
index 000000000..0a5ca6ac2
--- /dev/null
+++ b/quickReader/res/drawable/ic_cam_switcher_qr.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (c) 2017 The LineageOS 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.
+-->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:height="32dp"
+ android:width="32dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:fillColor="@color/white"
+ android:pathData="M3,11H5V13H3V11M11,5H13V9H11V5M9,11H13V15H11V13H9V11M15,11H17V13H19V11H21V13H19V15H21V19H19V21H17V19H13V21H11V17H15V15H17V13H15V11M19,19V15H17V19H19M15,3H21V9H15V3M17,5V7H19V5H17M3,3H9V9H3V3M5,5V7H7V5H5M3,15H9V21H3V15M5,17V19H7V17H5Z" />
+</vector>
diff --git a/quickReader/res/values/strings.xml b/quickReader/res/values/strings.xml
index 7be2b6f91..897483115 100644
--- a/quickReader/res/values/strings.xml
+++ b/quickReader/res/values/strings.xml
@@ -16,6 +16,9 @@
<resources>
<string name="quick_reader_name" translatable="false">QReader</string>
+ <!-- QuickReader: switcher item for qr -->
+ <string name="accessibility_switch_to_qr">QR reader</string>
+
<!-- QuickReader: dismiss button for dialogs -->
<string name="quick_reader_action_dismiss">Dismiss</string>
<!-- QuickReader: toast shown when there's no app installed to open the qr code content -->