2010-06-12 00:34:16 +00:00
|
|
|
<?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>
|
2011-06-06 21:27:16 +00:00
|
|
|
<!-- Workspace -->
|
|
|
|
<dimen name="qsb_bar_height">56dp</dimen>
|
|
|
|
|
2011-04-14 23:08:02 +00:00
|
|
|
<dimen name="apps_customize_cell_width">96dp</dimen>
|
|
|
|
<dimen name="apps_customize_cell_height">96dp</dimen>
|
2011-06-06 21:27:16 +00:00
|
|
|
<!-- 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>
|
|
|
|
|
2010-10-22 21:54:12 +00:00
|
|
|
<dimen name="workspace_cell_width">96dip</dimen>
|
|
|
|
<dimen name="workspace_cell_height">96dip</dimen>
|
|
|
|
|
2011-04-05 21:50:34 +00:00
|
|
|
<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>
|
|
|
|
|
2010-10-22 21:54:12 +00:00
|
|
|
<!-- Width/height gap overrides for the workspace -->
|
2011-04-05 21:50:34 +00:00
|
|
|
<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>
|
2010-08-05 03:03:37 +00:00
|
|
|
|
2010-10-28 00:18:37 +00:00
|
|
|
<!-- The corner radius to draw the external drop icon rounded rect -->
|
|
|
|
<dimen name="external_drop_icon_rect_radius">10dp</dimen>
|
2010-10-28 01:10:32 +00:00
|
|
|
|
2010-11-01 18:52:08 +00:00
|
|
|
<!-- Size of icons in workspace -->
|
|
|
|
<dimen name="app_icon_size">72dp</dimen>
|
2010-10-28 00:18:37 +00:00
|
|
|
|
2011-02-23 19:48:32 +00:00
|
|
|
<!-- Size of content of icons in workspace, as specified by the android icon guidelines -->
|
|
|
|
<dimen name="app_icon_content_size">60dp</dimen>
|
|
|
|
|
2010-09-09 18:23:48 +00:00
|
|
|
<!-- extra horizontal spacing between mini screen thumbnails ie. in all
|
2010-08-05 03:03:37 +00:00
|
|
|
apps and in customization mode -->
|
2010-09-09 18:23:48 +00:00
|
|
|
<dimen name="smallScreenExtraSpacing">0dip</dimen>
|
2010-08-05 03:03:37 +00:00
|
|
|
|
2010-10-21 18:55:00 +00:00
|
|
|
<!-- 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>
|
|
|
|
|
2011-01-26 22:46:15 +00:00
|
|
|
<dimen name="all_apps_button_drawable_padding">0dip</dimen>
|
|
|
|
<dimen name="all_apps_button_vertical_padding">4dip</dimen>
|
|
|
|
|
2011-04-05 21:50:34 +00:00
|
|
|
<integer name="land_all_apps_view_cellCountX">7</integer>
|
|
|
|
<integer name="land_all_apps_view_cellCountY">5</integer>
|
|
|
|
|
2010-11-04 23:15:23 +00:00
|
|
|
<!-- height & width of the drop rectangle for the trash icon -->
|
2010-12-20 19:36:33 +00:00
|
|
|
<dimen name="delete_zone_vertical_drag_padding">20dip</dimen>
|
|
|
|
<dimen name="delete_zone_horizontal_drag_padding">20dip</dimen>
|
2010-11-19 23:06:46 +00:00
|
|
|
|
2011-04-05 21:50:34 +00:00
|
|
|
<!-- roughly a status bar (for determining how many rows of icons are in home) -->
|
|
|
|
<dimen name="status_bar_height">48dip</dimen>
|
|
|
|
|
2010-11-19 23:06:46 +00:00
|
|
|
<!-- dimensions for the wallpaper picker wallpaper thumbnail width -->
|
2010-12-22 01:34:25 +00:00
|
|
|
<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>
|
2011-03-28 20:18:42 +00:00
|
|
|
|
|
|
|
<!-- 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>
|
2011-05-23 23:15:09 +00:00
|
|
|
|
|
|
|
<!-- 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>
|
2011-05-31 22:52:28 +00:00
|
|
|
|
2011-06-17 20:26:23 +00:00
|
|
|
<!-- Workspace grid -->
|
2011-05-31 22:52:28 +00:00
|
|
|
<!-- 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>
|
2011-06-17 20:26:23 +00:00
|
|
|
|
|
|
|
<!-- 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>
|
2010-06-12 00:34:16 +00:00
|
|
|
</resources>
|