summaryrefslogtreecommitdiff
path: root/res/values
diff options
context:
space:
mode:
authorMichael Kwan <mkwan@google.com>2016-10-12 01:05:24 -0700
committerMichael Kwan <mkwan@google.com>2016-10-12 01:29:39 -0700
commitf1c53f21f8da9abbd0c83fb941cfcbd7a7801671 (patch)
tree1834cfd78a6b836bd9c5208de6290295ad7d44c8 /res/values
parentd6b2fc2280887076079ecba830cc95187100005a (diff)
downloadMediaProvider-f1c53f21f8da9abbd0c83fb941cfcbd7a7801671.tar.gz
Add buttonless UI for watch type devices.
Watch type devices defaults to using an interaction model that avoids the use of buttons in AlertDialogs. A buttonless mode was added and enabled for watch devices to conform with the behaviour of other similar dialogs. Test: manual using watch system settings Bug: 30946435 Change-Id: Iaee39ac373bc5c1ec669cdaea025a56360725f28
Diffstat (limited to 'res/values')
-rw-r--r--res/values/config.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
new file mode 100644
index 000000000..4e237a2f1
--- /dev/null
+++ b/res/values/config.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 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.
+-->
+
+<!-- These resources are around just to allow their values to be customized
+ for different hardware and product builds. Do not translate.
+
+ NOTE: The naming convention is "config_camelCaseValue". -->
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+ <!-- True if the ringtone picker should show the ok/cancel buttons. If it is not shown, the
+ ringtone will be automatically selected when the picker is closed. -->
+ <bool name="config_showOkCancelButtons">true</bool>
+</resources>