| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2009 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> |
| <!-- Workspace --> |
| <dimen name="qsb_bar_height">56dp</dimen> |
| |
| <dimen name="apps_customize_cell_width">96dp</dimen> |
| <dimen name="apps_customize_cell_height">96dp</dimen> |
| <!-- The amount of space to account for the next/prev pages when |
| calculating the number of columns to fit a page. |
| In landscape/large we use apps_customize_cell_width / 4. --> |
| <dimen name="apps_customize_peek_width">48dp</dimen> |
| <dimen name="apps_customize_widget_cell_width_gap">36dp</dimen> |
| <dimen name="apps_customize_widget_cell_height_gap">36dp</dimen> |
| |
| <dimen name="workspace_cell_width">96dip</dimen> |
| <dimen name="workspace_cell_height">96dip</dimen> |
| |
| <dimen name="workspace_x_axis_start_padding_land">25dip</dimen> |
| <dimen name="workspace_x_axis_end_padding_land">25dip</dimen> |
| <dimen name="workspace_y_axis_start_padding_land">15dip</dimen> |
| <dimen name="workspace_y_axis_end_padding_land">15dip</dimen> |
| <dimen name="workspace_x_axis_start_padding_port">15dip</dimen> |
| <dimen name="workspace_x_axis_end_padding_port">15dip</dimen> |
| <dimen name="workspace_y_axis_start_padding_port">25dip</dimen> |
| <dimen name="workspace_y_axis_end_padding_port">25dip</dimen> |
| |
| <!-- Width/height gap overrides for the workspace --> |
| <dimen name="workspace_width_gap_land">32dp</dimen> |
| <dimen name="workspace_height_gap_land">2dp</dimen> |
| <dimen name="workspace_width_gap_port">0dp</dimen> |
| <dimen name="workspace_height_gap_port">32dp</dimen> |
| |
| <dimen name="workspace_page_spacing_land">50dp</dimen> |
| <dimen name="workspace_page_spacing_port">64dp</dimen> |
| |
| <!-- The corner radius to draw the external drop icon rounded rect --> |
| <dimen name="external_drop_icon_rect_radius">10dp</dimen> |
| |
| <!-- Size of icons in workspace --> |
| <dimen name="app_icon_size">72dp</dimen> |
| |
| <!-- Size of content of icons in workspace, as specified by the android icon guidelines --> |
| <dimen name="app_icon_content_size">60dp</dimen> |
| |
| <!-- extra horizontal spacing between mini screen thumbnails ie. in all |
| apps and in customization mode --> |
| <dimen name="smallScreenExtraSpacing">0dip</dimen> |
| |
| <!-- Vertical spacing between edge of screen and mini cell layouts when they |
| are minimized to the bottom in all apps --> |
| <dimen name="allAppsSmallScreenVerticalMarginLandscape">30dip</dimen> |
| <dimen name="allAppsSmallScreenVerticalMarginPortrait">60dip</dimen> |
| |
| <dimen name="all_apps_button_drawable_padding">0dip</dimen> |
| <dimen name="all_apps_button_vertical_padding">4dip</dimen> |
| |
| <integer name="land_all_apps_view_cellCountX">7</integer> |
| <integer name="land_all_apps_view_cellCountY">5</integer> |
| |
| <!-- height & width of the drop rectangle for the trash icon --> |
| <dimen name="delete_zone_vertical_drag_padding">20dip</dimen> |
| <dimen name="delete_zone_horizontal_drag_padding">20dip</dimen> |
| |
| <!-- roughly a status bar (for determining how many rows of icons are in home) --> |
| <dimen name="status_bar_height">48dip</dimen> |
| |
| <!-- dimensions for the wallpaper picker wallpaper thumbnail width --> |
| <dimen name="wallpaper_chooser_grid_width">196dp</dimen> |
| <dimen name="wallpaper_chooser_grid_height">140dp</dimen> |
| <dimen name="live_wallpaper_grid_item_padding">8dip</dimen> |
| |
| <!-- live_wallpaper_grid_item_width + 2 * live_wallpaper_grid_item_padding--> |
| <dimen name="live_wallpaper_column_width">212dip</dimen> |
| |
| <!-- How much the content view of an alert dialog should be inset (currently used |
| for the WallpaperChooser in XLarge mode) --> |
| <dimen name="alert_dialog_content_inset">0dp</dimen> |
| |
| <!-- When dragging items on the workspace, the number of dps by which the position of |
| the drag view should be offset from the position of the original view. --> |
| <dimen name="dragViewOffsetX">0dp</dimen> |
| <dimen name="dragViewOffsetY">-12dp</dimen> |
| |
| <!-- The actual number of rows/columns will be determined dynamically based on the screen |
| size, but in portrait we want to cap the rows at 3, otherwise it looks weird. --> |
| <integer name="customization_drawer_contents_maxCellCountY">3</integer> |
| |
| <!-- The percentage of vertical space that the customize tray should try to fill. --> |
| <integer name="customization_drawer_verticalFillPercentage">65</integer> |
| |
| <!-- Max number of rows in all apps, because too many looks weird. --> |
| <integer name="all_apps_view_maxCellCountY">6</integer> |
| |
| <!-- Workspace grid --> |
| <!-- Padding applied to AppWidgets --> |
| <dimen name="app_widget_padding_left">12dp</dimen> |
| <dimen name="app_widget_padding_right">12dp</dimen> |
| <dimen name="app_widget_padding_top">4dp</dimen> |
| <dimen name="app_widget_padding_bottom">20dp</dimen> |
| |
| <!-- Folders --> |
| <!-- The size of the image which sits behind the preview of the folder contents --> |
| <dimen name="folder_preview_size">80dp</dimen> |
| <!-- The amount that the preview contents are inset from the preview background --> |
| <dimen name="folder_preview_padding">4dp</dimen> |
| </resources> |