<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2015 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>
<!-- Main menu -->
<dimen name="menu_margin_top">@dimen/menu_enter_offset_y_negative</dimen>
<dimen name="menu_margin_bottom_min">27dp</dimen>
<dimen name="menu_row_align_from_bottom">124dp</dimen>
<dimen name="menu_row_title_width">300dp</dimen>
<dimen name="menu_row_title_height">48dp</dimen>
<dimen name="menu_row_title_transform_pivot_x">0dp</dimen>
<dimen name="menu_padding_start">56dp</dimen>
<dimen name="menu_padding_end">56dp</dimen>
<!-- This should be changed as the font change -->
<dimen name="menu_row_title_text_descender_height">4.5dp</dimen>
<!-- This value is 16dp in the redlines. Considering the descenders, it needs to be subtracted
by "menu_row_text_descender_height". -->
<!-- NOTE: The top and bottom padding sizes should be bigger than or equals to 8 dp.
otherwise it will make a clipping issue. See b/18632820 for more details. -->
<dimen name="menu_row_contents_padding_top">11.5dp</dimen>
<dimen name="menu_row_contents_padding_bottom_max">48dp</dimen>
<dimen name="menu_list_margin_top">-1.5dp</dimen>
<!-- NOTE: The top padding size should be bigger than or equals to 8 dp.
otherwise it will make a clipping issue. See b/18632820 for more details. -->
<dimen name="menu_list_padding_top">8dp</dimen>
<dimen name="menu_row_title_text_size_selected">20sp</dimen>
<dimen name="menu_row_title_text_size_deselected">16sp</dimen>
<dimen name="menu_inter_card_spacing">8dp</dimen>
<dimen name="menu_enter_offset_y">32dp</dimen>
<dimen name="menu_enter_offset_y_negative">-32dp</dimen>
<dimen name="menu_exit_offset_y">32dp</dimen>
<dimen name="menu_row_scroll_up_anim_offset">32dp</dimen>
<!-- Play controls -->
<dimen name="play_controls_width">696dp</dimen>
<dimen name="play_controls_height">88dp</dimen>
<dimen name="play_controls_progress_height">4dp</dimen>
<dimen name="play_controls_button_background_width">90dp</dimen>
<dimen name="play_controls_button_background_height">90dp</dimen>
<dimen name="play_controls_button_width">90dp</dimen>
<dimen name="play_controls_button_height">64dp</dimen>
<dimen name="play_controls_button_start_margin">6dp</dimen>
<dimen name="play_controls_time_width">80dp</dimen>
<dimen name="play_controls_time_text_size">12sp</dimen>
<!-- The margin is different from the redlines due to the descenders.
This should be changed as the font change. -->
<dimen name="play_controls_time_bottom_margin">9dp</dimen>
<dimen name="play_controls_time_indicator_top_margin">-4dp</dimen>
<dimen name="play_controls_time_indicator_width">12dp</dimen>
<dimen name="play_controls_time_indicator_height">12dp</dimen>
<dimen name="play_controls_program_time_margin_top">8dp</dimen>
<dimen name="play_controls_program_time_margin_start">16dp</dimen>
<dimen name="play_controls_program_time_margin_end">16dp</dimen>
<dimen name="play_controls_rec_time_text_size">12sp</dimen>
<dimen name="play_controls_unavailable_message_text_size">14sp</dimen>
<!-- Base card -->
<dimen name="card_layout_width">142dp</dimen>
<!-- NOTE: card_layout_height MUST be card_image_layout_height + card_meta_layout_height -->
<dimen name="card_layout_height">108dp</dimen>
<!-- NOTE: card_layout_height_extended MUST be card_image_layout_height +
card_meta_layout_height_extended -->
<dimen name="card_layout_height_extended">121.5dp</dimen>
<dimen name="card_image_layout_width">@dimen/card_layout_width</dimen>
<dimen name="card_image_layout_height">80dp</dimen>
<dimen name="card_image_gradient_padding_top">40dp</dimen>
<dimen name="card_meta_layout_height">28dp</dimen>
<dimen name="card_meta_layout_height_extended">41.5dp</dimen>
<dimen name="card_meta_padding_start">12dp</dimen>
<dimen name="card_meta_padding_end">12dp</dimen>
<dimen name="card_meta_padding_top">5dp</dimen>
<dimen name="card_elevation_normal">4dp</dimen>
<!-- Channel card -->
<dimen name="channel_card_progress_bar_height">2dp</dimen>
<dimen name="channel_card_elevation_focused">12dp</dimen>
<dimen name="channel_card_round_radius">2dp</dimen>
<!-- App link card -->
<dimen name="app_link_card_icon_width">16dp</dimen>
<dimen name="app_link_card_icon_height">16dp</dimen>
<dimen name="app_link_card_icon_padding">4dp</dimen>
<!-- Action card -->
<dimen name="action_card_width">142dp</dimen>
<dimen name="action_card_height">96dp</dimen>
<dimen name="action_card_icon_width">32dp</dimen>
<dimen name="action_card_icon_height">32dp</dimen>
<dimen name="action_card_icon_padding">10dp</dimen>
<dimen name="action_card_padding">12dp</dimen>
<dimen name="action_card_label_font_size">16sp</dimen>
<dimen name="action_card_state_font_size">12sp</dimen>
<!-- Side panel -->
<dimen name="side_panel_width">360dp</dimen>
<dimen name="side_panel_elevation">8dp</dimen>
<dimen name="side_panel_padding_start">32dp</dimen>
<dimen name="side_panel_padding_end">56dp</dimen>
<dimen name="side_panel_header_height">87dp</dimen>
<dimen name="side_panel_header_padding_top">27dp</dimen>
<dimen name="side_panel_header_elevation">4dp</dimen>
<dimen name="side_panel_header_text_size">24sp</dimen>
<dimen name="side_panel_list_padding_top">0dp</dimen>
<dimen name="side_panel_list_padding_bottom">48dp</dimen>
<dimen name="side_panel_list_vertical_margin">0dp</dimen>
<dimen name="side_panel_enter_offset_x">100dp</dimen>
<dimen name="side_panel_exit_offset_x">100dp</dimen>
<dimen name="side_panel_fragment_enter_offset_x">32dp</dimen>
<dimen name="side_panel_fragment_exit_offset_x">-32dp</dimen>
<dimen name="side_panel_fragment_pop_enter_offset_x">
@dimen/side_panel_fragment_exit_offset_x</dimen>
<dimen name="side_panel_fragment_pop_exit_offset_x">
@dimen/side_panel_fragment_enter_offset_x</dimen>
<!-- More options -->
<dimen name="option_item_height">48dp</dimen>
<dimen name="option_item_text_size">16sp</dimen>
<dimen name="option_item_text_margin_top">2.5dp</dimen>
<dimen name="option_item_secondary_text_size">12sp</dimen>
<dimen name="option_item_secondary_text_spacing">2sp</dimen>
<dimen name="option_item_check_box_margin_top">7dp</dimen>
<dimen name="option_item_common_padding_top">11dp</dimen>
<dimen name="option_item_common_padding_bottom">12.5dp</dimen>
<dimen name="option_item_compound_button_width">56dp</dimen>
<dimen name="option_item_compound_button_padding_top">16dp</dimen>
<dimen name="option_item_divider_height">1dp</dimen>
<dimen name="option_item_divider_margin_top">4dp</dimen>
<dimen name="option_item_divider_margin_bottom">3dp</dimen>
<dimen name="option_item_divider_text_size">14sp</dimen>
<dimen name="option_item_divider_text_margin_top">18dp</dimen>
<dimen name="option_item_channel_check_spacing">12dp</dimen>
<!-- Program guide -->
<dimen name="program_guide_shift_start_to_end_x">238dp</dimen>
<dimen name="program_guide_shift_end_to_start_x">-238dp</dimen>
<dimen name="program_guide_side_panel_width">270dp</dimen>
<dimen name="program_guide_side_panel_margin_start">-238dp</dimen>
<dimen name="program_guide_side_panel_padding_start">56dp</dimen>
<dimen name="program_guide_side_panel_padding_end">8dp</dimen>
<dimen name="program_guide_side_panel_item_width">206dp</dimen>
<dimen name="program_guide_side_panel_fading_edge">12dp</dimen>
<dimen name="program_guide_side_panel_elevation">8dp</dimen>
<dimen name="program_guide_side_panel_alignment_y">167dp</dimen>
<dimen name="program_guide_side_panel_row_height">48dp</dimen>
<dimen name="program_guide_side_panel_row_pivot_x">0dp</dimen>
<dimen name="program_guide_side_panel_row_pivot_y">15dp</dimen>
<dimen name="program_guide_side_panel_text_size">20sp</dimen>
<dimen name="program_guide_side_panel_exit_x">-32dp</dimen>
<dimen name="program_guide_table_elevation">8dp</dimen>
<dimen name="program_guide_table_background_round_radius_left">2dp</dimen>
<dimen name="program_guide_table_background_round_radius_right">0dp</dimen>
<dimen name="program_guide_table_margin_top">27dp</dimen>
<dimen name="program_guide_table_margin_bottom">27dp</dimen>
<dimen name="program_guide_table_margin_start">56dp</dimen>
<dimen name="program_guide_table_header_column_width">232dp</dimen>
<dimen name="program_guide_table_header_column_padding_start">16dp</dimen>
<dimen name="program_guide_table_header_column_padding_end">16dp</dimen>
<dimen name="program_guide_table_header_column_channel_number_width">84dp</dimen>
<dimen name="program_guide_table_header_column_channel_number_large_font_size">32sp</dimen>
<dimen name="program_guide_table_header_column_channel_number_small_font_size">24sp</dimen>
<dimen name="program_guide_table_header_column_channel_number_margin_start">28dp</dimen>
<dimen name="program_guide_table_header_column_channel_name_width">88dp</dimen>
<dimen name="program_guide_table_header_column_channel_name_font_size">14sp</dimen>
<dimen name="program_guide_table_header_column_channel_name_margin_start">112dp</dimen>
<dimen name="program_guide_table_header_column_channel_logo_width">70dp</dimen>
<dimen name="program_guide_table_header_column_channel_logo_height">40dp</dimen>
<dimen name="program_guide_table_header_column_channel_logo_margin_top">12dp</dimen>
<dimen name="program_guide_table_header_column_channel_block_width">
@dimen/program_guide_table_header_column_channel_block_height</dimen>
<dimen name="program_guide_table_header_column_channel_block_height">
@dimen/program_guide_table_header_column_channel_logo_height</dimen>
<dimen name="program_guide_table_header_column_channel_block_margin_top">
@dimen/program_guide_table_header_column_channel_logo_margin_top</dimen>
<dimen name="program_guide_table_header_column_input_logo_width">18dp</dimen>
<dimen name="program_guide_table_header_column_input_logo_height">
@dimen/program_guide_table_header_column_input_logo_width</dimen>
<dimen name="program_guide_table_header_column_input_logo_margin_top">23dp</dimen>
<dimen name="program_guide_table_header_row_height">40dp</dimen>
<dimen name="program_guide_table_header_row_font_size">16sp</dimen>
<dimen name="program_guide_table_header_row_fade_length">24dp</dimen>
<dimen name="program_guide_table_header_row_overlap">-52dp</dimen>
<dimen name="program_guide_table_item_row_height">64dp</dimen>
<dimen name="program_guide_table_item_padding">16dp</dimen>
<dimen name="program_guide_table_item_program_title_font_size">14sp</dimen>
<dimen name="program_guide_table_item_program_episode_title_font_size">12sp</dimen>
<dimen name="program_guide_table_item_visible_threshold">48dp</dimen>
<dimen name="program_guide_table_detail_height">112dp</dimen>
<dimen name="program_guide_table_detail_padding">16dp</dimen>
<dimen name="program_guide_table_detail_padding_end">56dp</dimen>
<dimen name="program_guide_table_detail_padding_negative">-16dp</dimen>
<dimen name="program_guide_table_detail_image_width">142dp</dimen>
<dimen name="program_guide_table_detail_image_height">80dp</dimen>
<dimen name="program_guide_table_detail_image_margin_end">16dp</dimen>
<dimen name="program_guide_table_detail_block_width">12dp</dimen>
<dimen name="program_guide_table_detail_block_height">16dp</dimen>
<dimen name="program_guide_table_detail_block_margin_end">8dp</dimen>
<dimen name="program_guide_table_detail_title_margin_top">-1dp</dimen>
<dimen name="program_guide_table_detail_title_text_size">16sp</dimen>
<dimen name="program_guide_table_detail_episode_title_text_size">16sp</dimen>
<dimen name="program_guide_table_detail_time_margin_top">22dp</dimen>
<dimen name="program_guide_table_detail_time_text_size">12sp</dimen>
<dimen name="program_guide_table_detail_meta_margin_start">12dp</dimen>
<dimen name="program_guide_table_detail_meta_margin_bottom">4sp</dimen>
<dimen name="program_guide_table_detail_desc_margin_top">46dp</dimen>
<dimen name="program_guide_table_detail_desc_text_size">12sp</dimen>
<dimen name="program_guide_table_width_per_hour">384dp</dimen>
<dimen name="program_guide_table_exit_x">368dp</dimen>
<!-- TV view -->
<dimen name="tvview_block_icon_width">200dp</dimen>
<dimen name="tvview_block_icon_height">120dp</dimen>
<dimen name="tvview_block_vertical_spacing">15dp</dimen>
<dimen name="tvview_block_text_size">16sp</dimen>
<dimen name="shrunken_tvview_block_icon_width">60dp</dimen>
<dimen name="shrunken_tvview_block_icon_height">60dp</dimen>
<dimen name="shrunken_tvview_block_vertical_spacing">24dp</dimen>
<!-- PIP view -->
<dimen name="pipview_margin_horizontal">56dp</dimen>
<dimen name="pipview_margin_top">27dp</dimen>
<dimen name="pipview_margin_bottom">27dp</dimen>
<dimen name="pipview_small_size_width">240dp</dimen>
<dimen name="pipview_small_size_height">135dp</dimen>
<dimen name="pipview_large_size_width">384dp</dimen>
<dimen name="pipview_large_size_height">216dp</dimen>
<!-- PAP View -->
<dimen name="papview_margin_horizontal">20dp</dimen>
<dimen name="papview_spacing">24dp</dimen>
<!-- Edit channels -->
<dimen name="shrunken_tvview_margin_start">56dp</dimen>
<dimen name="shrunken_tvview_margin_end">32dp</dimen>
<dimen name="shrunken_tvview_height">288dp</dimen>
<!-- Channel banner -->
<dimen name="channel_banner_width">696dp</dimen>
<dimen name="channel_banner_channel_number_large_text_size">54sp</dimen>
<dimen name="channel_banner_channel_number_medium_text_size">44sp</dimen>
<dimen name="channel_banner_channel_number_small_text_size">34sp</dimen>
<dimen name="channel_banner_channel_number_large_margin_top">-19sp</dimen>
<dimen name="channel_banner_channel_number_medium_margin_top">-15.5sp</dimen>
<dimen name="channel_banner_channel_number_small_margin_top">-11.5sp</dimen>
<dimen name="channel_banner_channel_logo_width">72dp</dimen>
<dimen name="channel_banner_channel_logo_height">44dp</dimen>
<dimen name="channel_banner_channel_logo_margin_start">8dp</dimen>
<dimen name="channel_banner_input_logo_size">16dp</dimen>
<dimen name="channel_banner_program_description_width">536dp</dimen>
<dimen name="channel_banner_program_large_text_size">28sp</dimen>
<dimen name="channel_banner_program_medium_text_size">20sp</dimen>
<dimen name="channel_banner_program_large_margin_top">-10sp</dimen>
<dimen name="channel_banner_program_medium_margin_top">-7sp</dimen>
<dimen name="channel_banner_anchor_one_line_y">44dp</dimen>
<dimen name="channel_banner_anchor_two_line_y">64dp</dimen>
<dimen name="channel_name_max_width">100dp</dimen>
<dimen name="channel_banner_small_text_size">14sp</dimen>
<dimen name="channel_banner_track_meta_text_size">8sp</dimen>
<dimen name="channel_banner_enter_offset_y">16dp</dimen>
<dimen name="channel_banner_exit_offset_y">16dp</dimen>
<!-- Input banner -->
<dimen name="input_banner_item_height">48dp</dimen>
<!-- Keypad channel switch -->
<dimen name="keypad_channel_switch_channel_number_text_size">
@dimen/channel_banner_channel_number_large_text_size</dimen>
<dimen name="keypad_channel_switch_channel_number_margin_top">
@dimen/channel_banner_channel_number_large_margin_top</dimen>
<dimen name="keypad_channel_switch_item_height">48dp</dimen>
<!-- A height of Keypad channel switch view without channel_list -->
<dimen name="keypad_channel_switch_base_height">84dp</dimen>
<!-- Recommendation cards in LeanbackLauncher -->
<!-- These values should be synchronized with
//vendor/unbundled_google/packages/LeanbackLauncher/res/values/dimens.xml -->
<dimen name="notif_card_img_height">176dp</dimen>
<dimen name="notif_card_img_min_width">117dp</dimen>
<dimen name="notif_card_img_max_width">235dp</dimen>
<dimen name="notif_ch_logo_max_width">64dp</dimen>
<dimen name="notif_ch_logo_max_height">44dp</dimen>
<dimen name="notif_ch_logo_padding_start">12dp</dimen>
<dimen name="notif_ch_logo_padding_bottom">12dp</dimen>
<!-- PIN dialog -->
<dimen name="pin_dialog_width">380dp</dimen>
<dimen name="pin_dialog_text_size">16sp</dimen>
<dimen name="pin_dialog_text_line_spacing">5sp</dimen>
<dimen name="pin_dialog_title_width">300dp</dimen>
<dimen name="pin_number_picker_text_size">24sp</dimen>
<dimen name="pin_number_picker_text_view_width">48dp</dimen>
<dimen name="pin_number_picker_text_view_height">48dp</dimen>
<!-- Onboarding screens -->
<eat-comment />
<dimen name="onboarding_welcome_content_margin_top">67dp</dimen>
<dimen name="onboarding_welcome_content_margin_bottom">50dp</dimen>
<dimen name="onboarding_welcome_shadow_height">9dp</dimen>
<dimen name="onboarding_welcome_shadow_margin_top">16dp</dimen>
<!-- This value is lb_onboarding_content_margin_bottom(98dp)
+ lb_onboarding_welcome_content_margin_bottom(50dp)
+ lb_onboarding_welcome_shadow_height(9dp)
+ lb_onboarding_welcome_shadow_margin_top(16dp)
+ margin from tv_container(70dp) -->
<dimen name="onboarding_welcome_arrow_margin_bottom">243dp</dimen>
<!-- DVR screens -->
<eat-comment />
<dimen name="dvr_card_layout_width">200dp</dimen>
<dimen name="dvr_card_layout_height">200dp</dimen>
<!-- card width - margin-->
<dimen name="dvr_card_image_layout_width">196dp</dimen>
<dimen name="dvr_card_image_layout_height">140dp</dimen>
</resources>