Sudheer Shanka | 7ff866d | 2016-01-12 17:22:06 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2016 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <resources> |
Sudheer Shanka | 6823a8f | 2016-04-13 10:13:26 -0700 | [diff] [blame] | 18 | |
Sudheer Shanka | 7ff866d | 2016-01-12 17:22:06 +0000 | [diff] [blame] | 19 | <declare-styleable name="RestrictedPreference"> |
Sudheer Shanka | 6823a8f | 2016-04-13 10:13:26 -0700 | [diff] [blame] | 20 | <!-- The user restriction on which the preference disabled by admin state will be based on. --> |
Sudheer Shanka | 1450173 | 2016-01-25 22:40:10 +0000 | [diff] [blame] | 21 | <attr name="userRestriction" format="string" /> |
Sudheer Shanka | 6823a8f | 2016-04-13 10:13:26 -0700 | [diff] [blame] | 22 | <!-- If true then we can use enabled/disabled by admin strings for summary (android.R.id.summary). --> |
Sudheer Shanka | 1450173 | 2016-01-25 22:40:10 +0000 | [diff] [blame] | 23 | <attr name="useAdminDisabledSummary" format="boolean" /> |
Sudheer Shanka | a1790c3 | 2016-04-19 21:45:32 -0700 | [diff] [blame] | 24 | </declare-styleable> |
| 25 | |
| 26 | <declare-styleable name="RestrictedSwitchPreference"> |
Sudheer Shanka | 6823a8f | 2016-04-13 10:13:26 -0700 | [diff] [blame] | 27 | <!-- If true, an additional summary will be added in addition to the existing summary and |
| 28 | this will be used for enabled/disabled by admin strings leaving android.R.id.summary untouched. |
| 29 | As such when this is true, useAdminDisabledSummary will be overwritten to false. --> |
| 30 | <attr name="useAdditionalSummary" format="boolean" /> |
Sudheer Shanka | a1790c3 | 2016-04-19 21:45:32 -0700 | [diff] [blame] | 31 | <!-- This is used as summary for restricted switch preferences, default value is |
| 32 | @string/disabled_by_admin (Disabled by administrator). --> |
| 33 | <attr name="restrictedSwitchSummary" format="reference" /> |
Sudheer Shanka | 7ff866d | 2016-01-12 17:22:06 +0000 | [diff] [blame] | 34 | </declare-styleable> |
Sudheer Shanka | 6823a8f | 2016-04-13 10:13:26 -0700 | [diff] [blame] | 35 | |
Tony Mantler | 98608e4 | 2016-01-22 14:58:48 -0800 | [diff] [blame] | 36 | <declare-styleable name="WifiEncryptionState"> |
| 37 | <attr name="state_encrypted" format="boolean" /> |
| 38 | </declare-styleable> |
Stephen Chen | aed318e | 2017-03-31 16:58:38 -0700 | [diff] [blame] | 39 | <declare-styleable name="WifiMeteredState"> |
| 40 | <attr name="state_metered" format="boolean" /> |
| 41 | </declare-styleable> |
Stephen Chen | 2c09659 | 2017-01-18 15:25:31 -0800 | [diff] [blame] | 42 | <declare-styleable name="WifiSavedState"> |
| 43 | <attr name="state_saved" format="boolean" /> |
| 44 | </declare-styleable> |
| 45 | |
Tony Mantler | 98608e4 | 2016-01-22 14:58:48 -0800 | [diff] [blame] | 46 | <attr name="wifi_signal" format="reference" /> |
Stephen Chen | 2c09659 | 2017-01-18 15:25:31 -0800 | [diff] [blame] | 47 | <attr name="wifi_friction" format="reference" /> |
Tony Mantler | 98608e4 | 2016-01-22 14:58:48 -0800 | [diff] [blame] | 48 | |
Juan Lang | 5efe8f0 | 2017-05-04 16:59:46 -0700 | [diff] [blame] | 49 | <attr name="footerPreferenceStyle" format="reference" /> |
| 50 | |
Tony Mantler | 98608e4 | 2016-01-22 14:58:48 -0800 | [diff] [blame] | 51 | </resources> |