1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2016 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 --> 16 <resources> 17 <!-- The default size for all FABs in the radio. --> 18 <dimen name="car_radio_fab_size">160dp</dimen> 19 20 <!-- The default spacing for padding and margins in the radio application. --> 21 <dimen name="radio_default_spacing">16dp</dimen> 22 23 <!-- The padding within the FAB so that the icon within the FAB isn't too large. --> 24 <dimen name="car_radio_fab_padding">48dp</dimen> 25 26 <!-- The elevation for the FAB buttons in the radio. --> 27 <dimen name="car_radio_fab_elevation">8dp</dimen> 28 29 <!-- The top margin before the start of the radio's metadata and channel display. --> 30 <dimen name="car_radio_container_top_padding">0dp</dimen> 31 32 <!-- The margin below the radio station information (e.g. channel name). This margin is 33 negative to move the text closer to the channel frequency. --> 34 <dimen name="car_radio_band_display_margin_start">8dp</dimen> 35 36 <!-- The width of the container that holds the current radio station metadata. --> 37 <dimen name="car_radio_metadata_container_width">290dp</dimen> 38 39 <!-- The top margin for the container that displays the current station and band. This value 40 is negative in order to align the top of the channel text with the top of the metadata 41 text. --> 42 <dimen name="car_radio_station_top_margin">-16dp</dimen> 43 44 <!-- The space between each of the items in the list of pre-scanend radio stations. This value 45 is negative to account for the fact that the text already has its own padding and 46 appear separated. However, the padding is too large, so the negative padding brings them 47 closer. --> 48 <dimen name="car_radio_channel_item_margin">-16dp</dimen> 49 50 <!-- The text size for the radio station channel. --> 51 <dimen name="car_radio_station_channel_text_size">96sp</dimen> 52 53 <!-- The absolute size of the radio controls. This value minus the 54 car_radio_controls_button_padding is the size of the icons within the button. --> 55 <dimen name="car_radio_controls_button_size">88dp</dimen> 56 57 <!-- Inner padding for the radio buttons. This value creates a touch target on the buttons that 58 is wider than the icon size. --> 59 <dimen name="car_radio_controls_button_padding">16dp</dimen> 60 61 <!-- The height of each card that displays a user preset. --> 62 <dimen name="car_preset_item_height">128dp</dimen> 63 64 <!-- The radius of a rounded card in the preset activity. This value should be half the value of 65 car_preset_item_height. --> 66 <dimen name="car_preset_item_radius">64dp</dimen> 67 68 <!-- The dimensions of the pill background behind each preset channel. --> 69 <dimen name="car_preset_number_bg_width">112dp</dimen> 70 <dimen name="car_preset_number_bg_height">76dp</dimen> 71 72 <!-- The radius of the pill. This number should be half the value of 73 car_preset_number_bg_height. --> 74 <dimen name="car_preset_number_bg_radius">38dp</dimen> 75 76 <!-- The total height of the container that holds the current radio card in the preset list. --> 77 <dimen name="car_preset_container_height">176dp</dimen> 78 79 <!-- The ending elevation for the container that the preset list scrolls under. --> 80 <dimen name="car_preset_container_elevation">8dp</dimen> 81 82 <!-- The size of the text displaying the current channel number in the presets activity. --> 83 <dimen name="car_preset_current_channel_text_size">46sp</dimen> 84 85 <!-- The spacing between the current radio channel and the current radio band in the preset 86 list. --> 87 <dimen name="car_preset_current_channel_separator">8dp</dimen> 88 89 <!-- The absolute size of the play button in the radio in the presets activity. --> 90 <dimen name="car_presets_play_button_size">112dp</dimen> 91 92 <!-- The padding of the play button in the radio in the presets activity. --> 93 <dimen name="car_presets_play_button_padding">16dp</dimen> 94 95 <!-- The corner radius for the cards in the preset list. This corner is only present on the 96 first and last card in the list and on the top and bottom respectively. --> 97 <dimen name="car_preset_card_radius">16dp</dimen> 98 99 <!-- The size of the equalizer next to a preset item that indicates it is the currently 100 playing radio station. --> 101 <dimen name="preset_equalizer_size">60dp</dimen> 102 103 <!-- The size of the icon indicating that there is an error with loading the radio. --> 104 <dimen name="radio_error_icon_size">146dp</dimen> 105 106 <!-- The bottom margin separating the error icon and the error text. --> 107 <dimen name="radio_error_icon_bottom_margin">24dp</dimen> 108 109 <!-- The size of the text explaining there was an error loading the radio. --> 110 <dimen name="radio_error_text_size">45sp</dimen> 111 112 <!-- The width of the container that holds the current tuned station, done/delete buttons and 113 the band selector. --> 114 <dimen name="manual_tuner_container_width">320dp</dimen> 115 116 <dimen name="manual_tuner_channel_text_size">96sp</dimen> 117 118 <!-- The height of the container corresponding to manual_tuner_container_width. This height 119 should equal to the height of the dialpad. This is equal to 4 * stream_button_size + 120 3 * manual_tuner_dialpad_vertical_spacing. --> 121 <dimen name="manual_tuner_container_height">288dp</dimen> 122 123 <!-- The top margin for the back button. This value is negative to align the back button with 124 the dialpad for visual purposes. --> 125 <dimen name="manual_tuner_back_button_top_margin">-2dp</dimen> 126 127 <!-- The top padding before the content within the manual tuner. --> 128 <dimen name="manual_tuner_top_padding">@dimen/radio_default_spacing</dimen> 129 130 <!-- The size of the numbers in the manual tuner dialpad. --> 131 <dimen name="manual_tuner_dialpad_text_size">50sp</dimen> 132 133 <!-- The top margin for the dialpad. This value is negative to pull the dialpad up a bit 134 for visual purposes. --> 135 <dimen name="manual_tuner_dialpad_top_margin">-16dp</dimen> 136 137 <!-- The spacing between the buttons on the dialpad. --> 138 <dimen name="manual_tuner_dialpad_horizontal_spacing">56dp</dimen> 139 <dimen name="manual_tuner_dialpad_vertical_spacing">0dp</dimen> 140 141 <!-- The size of the container that houses the back button in the manual tuner. The back button 142 is centered within this container. --> 143 <dimen name="manual_tuner_back_button_container_size">@dimen/stream_content_keyline_2</dimen> 144 </resources> 145