Xml文件  |  56行  |  2.23 KB

<?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.
  -->

<!--
  Defines all possible items on car volume settings UI, keyed by usage.
-->
<carVolumeItems xmlns:car="http://schemas.android.com/apk/res-auto">
  <item car:usage="unknown"
        car:icon="@drawable/car_ic_music"/>
  <item car:usage="media"
        car:icon="@drawable/car_ic_music"/>
  <item car:usage="assistance_navigation_guidance"
        car:icon="@drawable/car_ic_navigation"/>
  <item car:usage="voice_communication_signalling"
        car:icon="@*android:drawable/ic_audio_ring_notif"/>
  <item car:usage="alarm"
        car:icon="@drawable/ic_volume_alarm"/>
  <item car:usage="notification"
        car:icon="@drawable/car_ic_notification"/>
  <item car:usage="notification_ringtone"
        car:icon="@drawable/car_ic_notification"/>
  <item car:usage="notification_communication_request"
        car:icon="@drawable/car_ic_notification"/>
  <item car:usage="notification_communication_instant"
        car:icon="@drawable/car_ic_notification"/>
  <item car:usage="notification_communication_delayed"
        car:icon="@drawable/car_ic_notification"/>
  <item car:usage="notification_event"
        car:icon="@drawable/car_ic_notification"/>
  <item car:usage="assistance_accessibility"
        car:icon="@drawable/car_ic_notification"/>
  <item car:usage="voice_communication"
        car:icon="@*android:drawable/ic_audio_ring_notif"/>
  <item car:usage="assistance_sonification"
        car:icon="@drawable/car_ic_notification"/>
  <item car:usage="game"
        car:icon="@drawable/car_ic_music"/>
  <item car:usage="assistant"
        car:icon="@drawable/car_ic_music"/>
</carVolumeItems>