Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 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 
     17 <resources>
     18 <!-- Cling -->
     19     <dimen name="clingPunchThroughGraphicCenterRadius">94dp</dimen>
     20     <dimen name="folderClingMarginTop">20dp</dimen>
     21 
     22 <!-- Workspace -->
     23     <!-- qsb_bar_height_inset represents qsb_bar_height minus the padding
     24          that we put on each page for allowing folders to draw out of bounds -->
     25     <dimen name="qsb_bar_height_inset">34dp</dimen>
     26     <dimen name="qsb_bar_height">40dp</dimen>
     27     <dimen name="search_bar_height">40dp</dimen>
     28     <dimen name="workspace_cell_width">80dp</dimen>
     29     <dimen name="workspace_cell_height">100dp</dimen>
     30     <dimen name="workspace_width_gap">-1dp</dimen>
     31     <dimen name="workspace_height_gap">-1dp</dimen>
     32     <dimen name="workspace_max_gap">16dp</dimen>
     33     <dimen name="folder_cell_width">74dp</dimen>
     34     <dimen name="folder_cell_height">82dp</dimen>
     35     <dimen name="workspace_divider_padding_left">12dp</dimen>
     36     <dimen name="workspace_divider_padding_right">12dp</dimen>
     37     <dimen name="workspace_divider_padding_top">0dp</dimen>
     38     <dimen name="workspace_divider_padding_bottom">0dp</dimen>
     39     <dimen name="hotseat_cell_width">64dp</dimen>
     40     <dimen name="hotseat_cell_height">64dp</dimen>
     41     <dimen name="hotseat_width_gap">-1dp</dimen>
     42     <dimen name="hotseat_height_gap">-1dp</dimen>
     43     <dimen name="workspace_overscroll_drawable_padding">0dp</dimen>
     44 
     45     <dimen name="app_icon_padding_top">8dp</dimen>
     46 
     47 <!-- QSB -->
     48     <dimen name="toolbar_button_vertical_padding">0dip</dimen>
     49     <dimen name="toolbar_button_horizontal_padding">12dip</dimen>
     50     <!-- External toolbar icon size (for bounds) -->
     51     <dimen name="toolbar_external_icon_width">36dp</dimen>
     52     <dimen name="toolbar_external_icon_height">36dp</dimen>
     53 
     54 <!-- AllApps/Customize/AppsCustomize -->
     55     <!-- The height of the tab bar - if this changes, we should update the
     56          external icon width/height above to compensate -->
     57     <dimen name="apps_customize_tab_bar_height">52dp</dimen>
     58     <dimen name="app_icon_size">48dp</dimen>
     59     <!-- The width can be 72dp because we don't have L/R padding -->
     60     <dimen name="apps_customize_cell_width">74dp</dimen>
     61     <dimen name="apps_customize_cell_height">82dp</dimen>
     62     <dimen name="apps_customize_max_gap">18dp</dimen>
     63     <dimen name="apps_customize_widget_cell_width_gap">10dp</dimen>
     64     <dimen name="apps_customize_widget_cell_height_gap">8dp</dimen>
     65     <dimen name="title_texture_width">120px</dimen>
     66 
     67     <!-- height of the bottom row of controls -->
     68     <dimen name="button_bar_height">64dip</dimen>
     69     <!-- Because portal animations go beyond the bounds of an icon, we need
     70          to make the dock layout slightly larger than the button_bar_height -->
     71     <dimen name="button_bar_height_top_padding">8dp</dimen>
     72     <dimen name="button_bar_height_bottom_padding">0dp</dimen>
     73     <dimen name="button_bar_width_left_padding">0dp</dimen>
     74     <dimen name="button_bar_width_right_padding">0dp</dimen>
     75     <dimen name="button_bar_height_plus_padding">72dp</dimen>
     76 
     77     <!-- Drag padding to add to the drop targets -->
     78     <dimen name="drop_target_drag_padding">40dp</dimen>
     79 
     80     <!-- extra horizontal spacing between mini screen thumbnails ie. in all
     81          apps and in customization mode -->
     82     <dimen name="smallScreenExtraSpacing">0dip</dimen>
     83 
     84     <!-- Vertical spacing between edge of screen and mini cell layouts when they
     85          are minimized to the bottom in all apps -->
     86     <dimen name="allAppsSmallScreenVerticalMarginLandscape">30dip</dimen>
     87     <dimen name="allAppsSmallScreenVerticalMarginPortrait">60dip</dimen>
     88 
     89     <!-- padding between the delete zone drawable and text -->
     90     <dimen name="delete_zone_drawable_padding">8dip</dimen>
     91 
     92     <!-- roughly a status bar (for vertically centering the all apps
     93          home icon in landscape) -->
     94     <dimen name="status_bar_height">25dip</dimen>
     95 
     96 <!-- Dragging -->
     97     <!-- the area at the edge of the screen that makes the workspace go left
     98          or right while you're dragging. -->
     99     <dimen name="scroll_zone">20dp</dimen>
    100 
    101     <!-- When dragging items on the workspace, the number of dps by which the position of
    102      the drag view should be offset from the position of the original view. -->
    103     <dimen name="dragViewOffsetX">0dp</dimen>
    104     <dimen name="dragViewOffsetY">-8dp</dimen>
    105 
    106     <!-- Padding applied to AppWidgets -->
    107     <dimen name="app_widget_padding_left">16dp</dimen>
    108     <dimen name="app_widget_padding_right">16dp</dimen>
    109     <dimen name="app_widget_padding_top">16dp</dimen>
    110     <dimen name="app_widget_padding_bottom">16dp</dimen>
    111 
    112 <!-- Folders -->
    113     <!-- The size of the image which sits behind the preview of the folder contents -->
    114     <dimen name="folder_preview_size">64dp</dimen>
    115     <!-- The amount that the preview contents are inset from the preview background -->
    116     <dimen name="folder_preview_padding">4dp</dimen>
    117     <dimen name="folder_name_padding">10dp</dimen>
    118     <dimen name="folder_width_gap">0dp</dimen>
    119     <dimen name="folder_height_gap">0dp</dimen>
    120 </resources>
    121