summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2014-02-28 23:04:28 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-02-28 23:04:29 +0000
commit5ae9ef25c6ffdd17116616834d8583df9a9409c2 (patch)
tree5246c3f04c17e40e46b1a49853f3c59ea8342c4d /res
parent9f1014a772192d71d940feb6c5046e5dd2184221 (diff)
parent72438063453d2141218cf7fa4d8c1da6de6cbf4c (diff)
downloadpackages_apps_Settings-5ae9ef25c6ffdd17116616834d8583df9a9409c2.tar.gz
packages_apps_Settings-5ae9ef25c6ffdd17116616834d8583df9a9409c2.tar.bz2
packages_apps_Settings-5ae9ef25c6ffdd17116616834d8583df9a9409c2.zip
Merge "Zen mode configuration panel. (packages/apps/Settings)"
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/spinner_default_holo_dark_am_no_underline.9.pngbin0 -> 408 bytes
-rw-r--r--res/drawable-mdpi/spinner_default_holo_dark_am_no_underline.9.pngbin0 -> 293 bytes
-rw-r--r--res/drawable-xhdpi/spinner_default_holo_dark_am_no_underline.9.pngbin0 -> 404 bytes
-rw-r--r--res/drawable-xxhdpi/spinner_default_holo_dark_am_no_underline.9.pngbin0 -> 456 bytes
-rw-r--r--res/layout/preference_zen_mode.xml26
-rw-r--r--res/values/strings.xml6
6 files changed, 31 insertions, 1 deletions
diff --git a/res/drawable-hdpi/spinner_default_holo_dark_am_no_underline.9.png b/res/drawable-hdpi/spinner_default_holo_dark_am_no_underline.9.png
new file mode 100644
index 000000000..267e7bac6
--- /dev/null
+++ b/res/drawable-hdpi/spinner_default_holo_dark_am_no_underline.9.png
Binary files differ
diff --git a/res/drawable-mdpi/spinner_default_holo_dark_am_no_underline.9.png b/res/drawable-mdpi/spinner_default_holo_dark_am_no_underline.9.png
new file mode 100644
index 000000000..db51f6b6b
--- /dev/null
+++ b/res/drawable-mdpi/spinner_default_holo_dark_am_no_underline.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/spinner_default_holo_dark_am_no_underline.9.png b/res/drawable-xhdpi/spinner_default_holo_dark_am_no_underline.9.png
new file mode 100644
index 000000000..8d22ce233
--- /dev/null
+++ b/res/drawable-xhdpi/spinner_default_holo_dark_am_no_underline.9.png
Binary files differ
diff --git a/res/drawable-xxhdpi/spinner_default_holo_dark_am_no_underline.9.png b/res/drawable-xxhdpi/spinner_default_holo_dark_am_no_underline.9.png
new file mode 100644
index 000000000..29fb50f82
--- /dev/null
+++ b/res/drawable-xxhdpi/spinner_default_holo_dark_am_no_underline.9.png
Binary files differ
diff --git a/res/layout/preference_zen_mode.xml b/res/layout/preference_zen_mode.xml
new file mode 100644
index 000000000..4139d401f
--- /dev/null
+++ b/res/layout/preference_zen_mode.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 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.
+-->
+<ImageView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/configure_zen_mode"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:padding="8dip"
+ android:visibility="gone"
+ android:background="?android:attr/selectableItemBackground"
+ android:src="@drawable/ic_bt_config"
+ android:contentDescription="@string/configure_zen_mode_description" />
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 43fd71980..56f7ddf7e 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -5012,6 +5012,10 @@
<string name="title_zen_mode">Zen mode</string>
<!-- [CHAR LIMIT=30] Sound settings screen, setting option summary displaying the currently selected zen mode -->
<string name="summary_zen_mode" translatable="false">%1$s</string>
- <!-- [CHAR LIMIT=40] Sound settings screen, title of dialog for picking zen mode -->
+ <!-- [CHAR LIMIT=40] Sound settings screen, title of dialog for picking zen mode -->
<string name="dialog_title_zen_mode">Zen mode</string>
+ <!-- [CHAR LIMIT=30] Sound settings screen, description for configuring zen mode -->
+ <string name="configure_zen_mode_description">Configure Zen mode</string>
+ <!-- [CHAR LIMIT=30] Zen mode settings screen, activity title -->
+ <string name="zen_mode_settings_title">Limited Interruptions</string>
</resources>