| <?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> |
| <!-- Album art scrim --> |
| <item name="album_art_scrim_alpha" format="float" type="dimen">0.75</item> |
| |
| <!-- Fab --> |
| <dimen name="fab_spinner_size">128dp</dimen> |
| |
| <!-- App bar --> |
| <dimen name="appbar_first_row_height">@*android:dimen/car_app_bar_height</dimen> |
| <!-- By default app bar has only 1 row --> |
| <dimen name="appbar_second_row_height">0dp</dimen> |
| <!-- The height of app bar when it expends to 2 rows. Equals 2 * @dimen/appbar_first_row_height. --> |
| <dimen name="appbar_2_rows_height">160dp</dimen> |
| <dimen name="appbar_view_icon_touch_target_size">76dp</dimen> |
| <dimen name="appbar_view_icon_size">@*android:dimen/car_primary_icon_size</dimen> |
| <!-- Padding of primary icon, equals (@dimen/appbar_view_icon_touch_target_size - @dimen/appbar_view_icon_size) / 2. --> |
| <dimen name="appbar_view_icon_padding">16dp</dimen> |
| <dimen name="appbar_view_search_bar_padding_start">62dp</dimen> |
| <dimen name="appbar_view_search_bar_padding_end">60dp</dimen> |
| <dimen name="appbar_view_search_app_icon_size">@*android:dimen/car_secondary_icon_size</dimen> |
| <!-- negative margin to overlap icons on search bar --> |
| <dimen name="appbar_view_search_app_icon_margin">-66dp</dimen> |
| <dimen name="appbar_view_search_close_icon_margin">-76dp</dimen> |
| <dimen name="appbar_view_search_bar_end_margin">16dp</dimen> |
| |
| <!-- playback_fragment.xml --> |
| <dimen name="playback_fragment_text_margin_top">@*android:dimen/car_padding_4</dimen> |
| <dimen name="playback_fragment_text_margin_x">@*android:dimen/car_padding_4</dimen> |
| |
| <dimen name="playback_fragment_app_icon_margin_right">@*android:dimen/car_padding_4</dimen> |
| <dimen name="playback_fragment_controls_margin_bottom">@*android:dimen/car_padding_4</dimen> |
| |
| <!-- app_switch_widget.xml --> |
| <dimen name="app_switch_widget_width">@*android:dimen/car_margin</dimen> |
| <dimen name="app_switch_widget_app_icon_size">@*android:dimen/car_primary_icon_size</dimen> |
| <dimen name="app_switch_widget_switch_icon_size">@*android:dimen/car_secondary_icon_size</dimen> |
| <dimen name="app_switch_widget_icon_padding">@*android:dimen/car_padding_1</dimen> |
| |
| <!-- app_selection_item.xml --> |
| <dimen name="app_selection_item_margin_h">@*android:dimen/car_padding_2</dimen> |
| <dimen name="app_selection_item_margin_bottom">@*android:dimen/car_padding_5</dimen> |
| <dimen name="app_selection_item_padding">@*android:dimen/car_padding_1</dimen> |
| <dimen name="app_selection_item_app_icon_size">@*android:dimen/car_touch_target_size</dimen> |
| <dimen name="app_selection_item_app_icon_margin_bottom">@*android:dimen/car_padding_4</dimen> |
| |
| <!-- Drawable appbar_view_icon_background.xml --> |
| <dimen name="appbar_view_icon_background_corner_radius">@*android:dimen/car_radius_2</dimen> |
| |
| <!-- fragment_app_selection.xml --> |
| <dimen name="fragment_app_selection_list_top_offset">@*android:dimen/car_padding_5</dimen> |
| |
| <!-- Minimized Progress Bar --> |
| <dimen name="minimized_progress_bar_track_thickness">4dp</dimen> |
| |
| <!-- appbar_view_icon_background.xml --> |
| <dimen name="appbar_view_icon_background_radius">38dp</dimen> |
| </resources> |