diff options
| author | 2013-09-26 17:17:18 +0000 | |
|---|---|---|
| committer | 2013-09-26 17:17:18 +0000 | |
| commit | 8fe3097c87fad3bec6fd53606fe8ff7076bef173 (patch) | |
| tree | ed1bea008721a3ce01cc4eb95ed5d55373f013cd | |
| parent | aea8ec1a73ddf594cb295459916ab5b77820f061 (diff) | |
| parent | eed9fd482501c16034a2c64e5543d2b79ffa3a1e (diff) | |
Merge "Add QuickSettings all-caps override for certain locales. (Bug 10518893)" into klp-dev
| -rw-r--r-- | packages/SystemUI/res/layout/quick_settings_tile_rssi.xml | 1 | ||||
| -rw-r--r-- | packages/SystemUI/res/values-mcc262-mnc07/config.xml | 26 | ||||
| -rw-r--r-- | packages/SystemUI/res/values/config.xml | 3 |
3 files changed, 30 insertions, 0 deletions
diff --git a/packages/SystemUI/res/layout/quick_settings_tile_rssi.xml b/packages/SystemUI/res/layout/quick_settings_tile_rssi.xml index cabfaa505560..6bf31e062599 100644 --- a/packages/SystemUI/res/layout/quick_settings_tile_rssi.xml +++ b/packages/SystemUI/res/layout/quick_settings_tile_rssi.xml @@ -66,5 +66,6 @@ android:text="@string/quick_settings_rssi_label" android:layout_centerHorizontal="true" android:layout_below="@id/rssi_images" + android:textAllCaps="@bool/quick_settings_rssi_tile_capitalization" /> </RelativeLayout>
\ No newline at end of file diff --git a/packages/SystemUI/res/values-mcc262-mnc07/config.xml b/packages/SystemUI/res/values-mcc262-mnc07/config.xml new file mode 100644 index 000000000000..7b7b8f391efb --- /dev/null +++ b/packages/SystemUI/res/values-mcc262-mnc07/config.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2013, 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. --> +<resources> + <!-- Whether or not the RSSI tile is capitalized or not. --> + <bool name="quick_settings_rssi_tile_capitalization">false</bool> +</resources> + diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml index 8ce959f5c3ac..3869db396be1 100644 --- a/packages/SystemUI/res/values/config.xml +++ b/packages/SystemUI/res/values/config.xml @@ -87,6 +87,9 @@ <!-- Whether rotation lock shows up in quick settings or not --> <bool name="quick_settings_show_rotation_lock">false</bool> + <!-- Whether or not the RSSI tile is capitalized or not. --> + <bool name="quick_settings_rssi_tile_capitalization">true</bool> + <!-- Timeouts for brightness dialog to disappear --> <integer name="quick_settings_brightness_dialog_short_timeout">2000</integer> <integer name="quick_settings_brightness_dialog_long_timeout">4000</integer> |