1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17<resources> 18 <dimen name="app_grid_width">1440dp</dimen> 19 <dimen name="app_grid_height">628dp</dimen> 20 <dimen name="app_grid_margin_horizontal">70dp</dimen> 21 <dimen name="app_grid_margin_vertical">0dp</dimen> 22 <dimen name="app_icon_size">84dp</dimen> 23 <dimen name="app_icon_scaled_size">100dp</dimen> 24 <item name="app_icon_opacity_unavailable" type="dimen" format="float">0.5</item> 25 <item name="app_icon_opacity_tos_disabled" type="dimen" format="float">0.46</item> 26 <item name="app_icon_opacity" type="dimen" format="float">1.0</item> 27 <dimen name="app_name_margin_horizontal">6dp</dimen> 28 <dimen name="app_item_highlight_corner_radius">18dp</dimen> 29 <dimen name="app_item_highlight_edge_width">5dp</dimen> 30 <dimen name="page_indicator_edge_corner_radius">4dp</dimen> 31 <dimen name="page_indicator_height">4dp</dimen> 32 <!-- Gap between top of screen (statusbar) and header content --> 33 <dimen name="recent_apps_divider_margin">40dp</dimen> 34 <dimen name="app_grid_header_margin">32dp</dimen> 35 <dimen name="panel_margin">20dp</dimen> 36 <!-- Height of the text and exit button on the app selection screen --> 37 <dimen name="app_bar_height">80dp</dimen> 38 <dimen name="icon_size">56dp</dimen> 39 <dimen name="recent_apps_row_height">1dp</dimen> 40 <dimen name="app_grid_touch_target_size">76dp</dimen> 41 <!-- Padding around the touch target (makes ripple look better) --> 42 <dimen name="app_touch_target_padding">16dp</dimen> 43 <dimen name="app_touch_target_margin">8dp</dimen> 44 <dimen name="app_grid_row_margin">32dp</dimen> 45 <dimen name="app_icon_description_margin">16dp</dimen> 46 <dimen name="app_icon_ripple_radius">8dp</dimen> 47 48 <!-- AppSearchActivity --> 49 <dimen name="search_item_width">760dp</dimen> 50 <dimen name="search_result_margin">8dp</dimen> 51 <dimen name="search_result_text_margin">152dp</dimen> 52 <dimen name="search_box_height">65dp</dimen> 53 <dimen name="search_bar_margin">48dp</dimen> 54 <dimen name="search_bar_drawable_text_padding">46dp</dimen> 55 56 <!-- percentage of view holders on the next page that must be fully visible to the user to 57 trigger page snap to the next page --> 58 <item name="page_snap_threshold" format="float" type="dimen">0.3</item> 59 60 <!-- Velocity value of a swipe to trigger a fling to the next page --> 61 <item name="fling_threshold" format="float" type="dimen">1000</item> 62 63 <!-- distance that users must drag (hold and attempt to move the app icon) to initiate 64 drag and drop for reordering app icons. --> 65 <dimen name="threshold_to_start_drag_drop">8dp</dimen> 66 67 <!-- banner dimensions --> 68 <dimen name="banner_button_maximum_width">300dp</dimen> 69 <dimen name="banner_content_margin">28dp</dimen> 70 <dimen name="banner_image_view_size">30dp</dimen> 71</resources> 72