blob: 084e30d6f30d5827d079ccf0bbbc443e29bb282f [file] [log] [blame]
<!--
~ Copyright (C) 2020 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
-->
<!--
~ An example uxr_config.xml file would look like:
~ <Mapping xmlns:app="http://schemas.android.com/apk/res-auto">
~ <ListConfig
~ app:id="@+id/call_log_list_uxr_config"
~ app:maxLength="10"
~ app:message="@string/call_log_scrolling_limited_message"
~ />
~ </Mapping>
-->
<resources>
<!-- Global container of uxr related app configs -->
<declare-styleable name="CarUxRestrictionsAppConfig"/>
<!-- The mapping of lists to their uxr related override values. -->
<declare-styleable name="CarUxRestrictionsAppConfig_Mapping"/>
<!-- Uxr related overrides for a specific list -->
<declare-styleable name="CarUxRestrictionsAppConfig_ListConfig">
<!-- Id of ListConfig, used to differentiate them -->
<attr name="id" format="reference"/>
<!-- Used to limit the length of a list. -->
<attr name="maxLength" format="integer"/>
<!-- Used to educate users why their scrolling experience is limited. -->
<attr name="message" format="string"/>
</declare-styleable>
</resources>