blob: a8a179358744cc41548df834b2f65e312c76fccb [file] [log] [blame]
Sudheer Shanka7ff866d2016-01-12 17:22:06 +00001<?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 Shanka6823a8f2016-04-13 10:13:26 -070018
Sudheer Shanka7ff866d2016-01-12 17:22:06 +000019 <declare-styleable name="RestrictedPreference">
Sudheer Shanka6823a8f2016-04-13 10:13:26 -070020 <!-- The user restriction on which the preference disabled by admin state will be based on. -->
Sudheer Shanka14501732016-01-25 22:40:10 +000021 <attr name="userRestriction" format="string" />
Sudheer Shanka6823a8f2016-04-13 10:13:26 -070022 <!-- If true then we can use enabled/disabled by admin strings for summary (android.R.id.summary). -->
Sudheer Shanka14501732016-01-25 22:40:10 +000023 <attr name="useAdminDisabledSummary" format="boolean" />
Sudheer Shankaa1790c32016-04-19 21:45:32 -070024 </declare-styleable>
25
26 <declare-styleable name="RestrictedSwitchPreference">
Sudheer Shanka6823a8f2016-04-13 10:13:26 -070027 <!-- 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 Shankaa1790c32016-04-19 21:45:32 -070031 <!-- 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 Shanka7ff866d2016-01-12 17:22:06 +000034 </declare-styleable>
Sudheer Shanka6823a8f2016-04-13 10:13:26 -070035
Tony Mantler98608e42016-01-22 14:58:48 -080036 <declare-styleable name="WifiEncryptionState">
37 <attr name="state_encrypted" format="boolean" />
38 </declare-styleable>
Stephen Chenaed318e2017-03-31 16:58:38 -070039 <declare-styleable name="WifiMeteredState">
40 <attr name="state_metered" format="boolean" />
41 </declare-styleable>
Stephen Chen2c096592017-01-18 15:25:31 -080042 <declare-styleable name="WifiSavedState">
43 <attr name="state_saved" format="boolean" />
44 </declare-styleable>
45
Tony Mantler98608e42016-01-22 14:58:48 -080046 <attr name="wifi_signal" format="reference" />
Stephen Chen2c096592017-01-18 15:25:31 -080047 <attr name="wifi_friction" format="reference" />
Tony Mantler98608e42016-01-22 14:58:48 -080048
Juan Lang5efe8f02017-05-04 16:59:46 -070049 <attr name="footerPreferenceStyle" format="reference" />
50
Tony Mantler98608e42016-01-22 14:58:48 -080051</resources>