blob: fbd33ce34088671f2d91223f432a6eabfe16ee33 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 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>
<!-- The default style for a radio button. -->
<style name="RadioButton" parent="@android:style/Widget.Material.Button.Borderless">
<item name="android:background">@drawable/radio_control_background</item>
<item name="android:padding">@dimen/car_radio_controls_button_padding</item>
<item name="android:scaleType">center</item>
</style>
<!-- The text style for the radio channel in the main display. -->
<style name="RadioStationChannelText">
<item name="android:fontFamily">sans-serif-light</item>
<item name="android:includeFontPadding">false</item>
<item name="android:textColor">@color/car_headline1_light</item>
<item name="android:textSize">@dimen/car_radio_station_channel_text_size</item>
</style>
<!-- The text style for the radio band in the main display. -->
<style name="RadioStationBandText">
<item name="android:fontFamily">sans-serif-medium</item>
<item name="android:textAllCaps">true</item>
<item name="android:textColor">@color/car_headline1_light</item>
<item name="android:textSize">@dimen/car_body2_size</item>
</style>
<!-- The default text style for the channel number in the presets list. -->
<style name="RadioPresetItemChannelText">
<item name="android:fontFamily">sans-serif-medium</item>
<item name="android:textColor">@color/car_grey_100</item>
</style>
<!-- The text style for the current radio station in the presets list. -->
<style name="RadioPresetItemChannelText.CurrentStation">
<item name="android:textColor">@color/radio_current_station_text</item>
</style>
<!-- The default text style for the metadata in the presets list. -->
<style name="RadioPresetItemMetadataText">
<item name="android:ellipsize">end</item>
<item name="android:maxLines">1</item>
<item name="android:textColor">@color/radio_preset_item_text</item>
<item name="android:textSize">@dimen/car_body1_size</item>
</style>
<!-- The base style for all cards in the presets activity. -->
<style name="RadioPresetCard">
<item name="android:foreground">@drawable/radio_control_background</item>
<item name="cardBackgroundColor">@color/car_card</item>
<item name="cardElevation">0dp</item>
</style>
<!-- The style of the card that shows the currently playing radio station. -->
<style name="RadioPresetCard.CurrentStation">
<item name="cardCornerRadius">@dimen/car_preset_item_radius</item>
</style>
<!-- The default style for FAB icons in the radio. -->
<style name="RadioFab">
<item name="android:layout_width">@dimen/car_radio_fab_size</item>
<item name="android:layout_height">@dimen/car_radio_fab_size</item>
<item name="android:padding">@dimen/car_radio_fab_padding</item>
<item name="android:scaleType">centerCrop</item>
<item name="android:elevation">@dimen/car_radio_fab_elevation</item>
</style>
<!-- The style for the text in the manual tuner dialpad. -->
<style name="ManualTunerText">
<item name="android:background">@drawable/radio_control_background</item>
<item name="android:layout_height">@dimen/stream_button_size</item>
<item name="android:layout_width">@dimen/stream_button_size</item>
<item name="android:gravity">center</item>
<item name="android:textColor">@color/manual_tuner_button_text</item>
<item name="android:textSize">@dimen/manual_tuner_dialpad_text_size</item>
</style>
<!-- The style for the buttons displaying the possible radio bands for the user to select. -->
<style name="ManualTunerBandButton">
<item name="android:textAllCaps">true</item>
<item name="android:layout_height">72dp</item>
<item name="android:layout_width">120dp</item>
<item name="android:textColor">@color/manual_tuner_channel_text</item>
<item name="android:textSize">@dimen/car_body1_size</item>
<item name="isBandSelected">false</item>
</style>
<!-- The text style for the text displaying the current channel that the user has typed. -->
<style name="ManualTunerChannelText">
<item name="android:textAllCaps">true</item>
<item name="android:textColor">@color/car_headline0</item>
<item name="android:textSize">@dimen/manual_tuner_channel_text_size</item>
</style>
</resources>