56 lines
2.1 KiB
XML
56 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
** Copyright 2018, 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.
|
|
*/
|
|
-->
|
|
|
|
<resources>
|
|
<!-- Defines the attributes and values used in res/xml/car_volume_groups.xml -->
|
|
<declare-styleable name="volumeGroups">
|
|
<attr name="isDeprecated" format="boolean"/>
|
|
</declare-styleable>
|
|
<declare-styleable name="volumeGroups_group"/>
|
|
<declare-styleable name="volumeGroups_context">
|
|
<!-- Align with CarAudioContext -->
|
|
<attr name="context">
|
|
<enum name="music" value="1"/>
|
|
<enum name="navigation" value="2"/>
|
|
<enum name="voice_command" value="3"/>
|
|
<enum name="call_ring" value="4"/>
|
|
<enum name="call" value="5"/>
|
|
<enum name="alarm" value="6"/>
|
|
<enum name="notification" value="7"/>
|
|
<enum name="system_sound" value="8"/>
|
|
<enum name="emergency" value="9"/>
|
|
<enum name="safety" value="10"/>
|
|
<enum name="vehicle_status" value="11"/>
|
|
<enum name="announcement" value="12"/>
|
|
</attr>
|
|
</declare-styleable>
|
|
|
|
<!--
|
|
Defines the attributes and values used in car_audio_configuration.xml
|
|
This is a superset of car_volume_groups.xml
|
|
-->
|
|
<declare-styleable name="carAudioConfiguration">
|
|
<attr name="version" format="integer"/>
|
|
<attr name="isPrimary" format="boolean"/>
|
|
<attr name="name" format="string"/>
|
|
<attr name="address" format="string"/>
|
|
<attr name="display" format="string"/>
|
|
</declare-styleable>
|
|
</resources>
|