dimens.xml 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2009 The Android Open Source Project
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <resources>
  14. <!-- Dynamic Grid -->
  15. <dimen name="dynamic_grid_edge_margin">6dp</dimen>
  16. <dimen name="dynamic_grid_search_bar_max_width">500dp</dimen>
  17. <dimen name="dynamic_grid_search_bar_height">56dp</dimen>
  18. <dimen name="dynamic_grid_page_indicator_height">20dp</dimen>
  19. <dimen name="dynamic_grid_icon_drawable_padding">4dp</dimen>
  20. <dimen name="dynamic_grid_all_apps_cell_padding">18dp</dimen>
  21. <dimen name="dynamic_grid_workspace_page_spacing">8dp</dimen>
  22. <dimen name="dynamic_grid_overview_min_icon_zone_height">80dp</dimen>
  23. <dimen name="dynamic_grid_overview_max_icon_zone_height">120dp</dimen>
  24. <dimen name="dynamic_grid_overview_bar_item_width">80dp</dimen>
  25. <dimen name="dynamic_grid_overview_bar_spacer_width">20dp</dimen>
  26. <!-- Cling -->
  27. <dimen name="cling_migration_logo_height">240dp</dimen>
  28. <dimen name="cling_migration_logo_width">165dp</dimen>
  29. <dimen name="cling_migration_bg_size">400dp</dimen>
  30. <dimen name="cling_migration_bg_shift">-200dp</dimen>
  31. <dimen name="cling_migration_content_margin">16dp</dimen>
  32. <dimen name="cling_migration_content_width">280dp</dimen>
  33. <!-- Workspace -->
  34. <dimen name="workspace_max_gap">16dp</dimen>
  35. <dimen name="workspace_overscroll_drawable_padding">0dp</dimen>
  36. <!-- QSB -->
  37. <dimen name="toolbar_button_vertical_padding">4dip</dimen>
  38. <dimen name="toolbar_button_horizontal_padding">12dip</dimen>
  39. <!-- AllApps/Customize/AppsCustomize -->
  40. <!-- The height of the tab bar - if this changes, we should update the
  41. external icon width/height above to compensate -->
  42. <dimen name="apps_customize_tab_bar_height">52dp</dimen>
  43. <dimen name="apps_customize_tab_bar_margin_top">0dp</dimen>
  44. <dimen name="app_icon_size">48dp</dimen>
  45. <dimen name="apps_customize_horizontal_padding">0dp</dimen>
  46. <!-- The AppsCustomize page indicator -->
  47. <dimen name="apps_customize_page_indicator_height">12dp</dimen>
  48. <dimen name="apps_customize_page_indicator_margin">4dp</dimen>
  49. <dimen name="apps_customize_page_indicator_offset">16dp</dimen>
  50. <!-- Drag padding to add to the bottom of drop targets -->
  51. <dimen name="drop_target_drag_padding">14dp</dimen>
  52. <dimen name="drop_target_text_size">14sp</dimen>
  53. <!-- Dragging -->
  54. <!-- the area at the edge of the screen that makes the workspace go left
  55. or right while you're dragging. -->
  56. <dimen name="scroll_zone">20dp</dimen>
  57. <!-- When dragging items on the workspace, the number of dps by which the position of
  58. the drag view should be offset from the position of the original view. -->
  59. <dimen name="dragViewOffsetX">0dp</dimen>
  60. <dimen name="dragViewOffsetY">0dp</dimen>
  61. <!-- When dragging an item, how much bigger (fixed dps) the dragged view
  62. should be. If 0, it will not be scaled at all. -->
  63. <dimen name="dragViewScale">12dp</dimen>
  64. <!-- Padding applied to AppWidget previews -->
  65. <dimen name="app_widget_preview_padding_left">16dp</dimen>
  66. <dimen name="app_widget_preview_padding_right">16dp</dimen>
  67. <dimen name="app_widget_preview_padding_top">32dp</dimen>
  68. <dimen name="app_widget_preview_label_vertical_padding">8dp</dimen>
  69. <dimen name="app_widget_preview_label_horizontal_padding">8dp</dimen>
  70. <!-- Padding applied to shortcut previews -->
  71. <dimen name="shortcut_preview_padding_left">0dp</dimen>
  72. <dimen name="shortcut_preview_padding_right">0dp</dimen>
  73. <dimen name="shortcut_preview_padding_top">0dp</dimen>
  74. <!-- Folders -->
  75. <!-- The amount that the preview contents are inset from the preview background -->
  76. <dimen name="folder_preview_padding">4dp</dimen>
  77. <dimen name="folder_name_padding">10dp</dimen>
  78. <!-- Sizes for managed profile badges -->
  79. <dimen name="profile_badge_size">24dp</dimen>
  80. <dimen name="profile_badge_margin">4dp</dimen>
  81. </resources>