attrs.xml revision 0112bacf4aa212f4d0da45594a88694f295ae56c
16904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler<?xml version="1.0" encoding="utf-8"?> 26904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler<!-- 36904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler ~ Copyright (C) 2015 The Android Open Source Project 46904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler ~ 56904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler ~ Licensed under the Apache License, Version 2.0 (the "License"); 66904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler ~ you may not use this file except in compliance with the License. 76904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler ~ You may obtain a copy of the License at 86904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler ~ 96904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler ~ http://www.apache.org/licenses/LICENSE-2.0 106904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler ~ 116904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler ~ Unless required by applicable law or agreed to in writing, software 126904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler ~ distributed under the License is distributed on an "AS IS" BASIS, 136904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 146904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler ~ See the License for the specific language governing permissions and 156904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler ~ limitations under the License 166904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler --> 176904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler 186904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler<resources> 196904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler <declare-styleable name="SwitchPreference"> 206904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler <!-- The summary for the Preference in a PreferenceActivity screen when the 216904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler SwitchPreference is checked. If separate on/off summaries are not 226904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler needed, the summary attribute can be used instead. --> 236904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler <attr name="summaryOn" /> 2484765eaea7da18d0576db557959129e9d0db8e8cTony Mantler <attr name="android:summaryOn" /> 256904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler <!-- The summary for the Preference in a PreferenceActivity screen when the 266904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler SwitchPreference is unchecked. If separate on/off summaries are not 276904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler needed, the summary attribute can be used instead. --> 286904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler <attr name="summaryOff" /> 2984765eaea7da18d0576db557959129e9d0db8e8cTony Mantler <attr name="android:summaryOff" /> 306904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler <!-- The text used on the switch itself when in the "on" state. 316904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler This should be a very SHORT string, as it appears in a small space. --> 326904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler <attr name="switchTextOn"/> 3384765eaea7da18d0576db557959129e9d0db8e8cTony Mantler <attr name="android:switchTextOn"/> 346904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler <!-- The text used on the switch itself when in the "off" state. 356904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler This should be a very SHORT string, as it appears in a small space. --> 366904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler <attr name="switchTextOff" /> 3784765eaea7da18d0576db557959129e9d0db8e8cTony Mantler <attr name="android:switchTextOff" /> 386904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 396904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler dependents will be disabled when this is unchecked, so the value of this preference is false. --> 406904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler <attr name="disableDependentsState" /> 4184765eaea7da18d0576db557959129e9d0db8e8cTony Mantler <attr name="android:disableDependentsState" /> 426904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler </declare-styleable> 430112bacf4aa212f4d0da45594a88694f295ae56cTony Mantler 440112bacf4aa212f4d0da45594a88694f295ae56cTony Mantler <declare-styleable name="MultiSelectListPreference"> 450112bacf4aa212f4d0da45594a88694f295ae56cTony Mantler <!-- The human-readable array to present as a list. Each entry must have a corresponding 460112bacf4aa212f4d0da45594a88694f295ae56cTony Mantler index in entryValues. --> 470112bacf4aa212f4d0da45594a88694f295ae56cTony Mantler <attr name="entries" /> 480112bacf4aa212f4d0da45594a88694f295ae56cTony Mantler <attr name="android:entries" /> 490112bacf4aa212f4d0da45594a88694f295ae56cTony Mantler <!-- The array to find the value to save for a preference when an entry from 500112bacf4aa212f4d0da45594a88694f295ae56cTony Mantler entries is selected. If a user clicks the second item in entries, the 510112bacf4aa212f4d0da45594a88694f295ae56cTony Mantler second item in this array will be saved to the preference. --> 520112bacf4aa212f4d0da45594a88694f295ae56cTony Mantler <attr name="entryValues" /> 530112bacf4aa212f4d0da45594a88694f295ae56cTony Mantler <attr name="android:entryValues" /> 540112bacf4aa212f4d0da45594a88694f295ae56cTony Mantler </declare-styleable> 556904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler</resources> 56