dimensions.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2010 The Android Open Source Project Licensed under the
  4. Apache License, Version 2.0 (the "License"); you may not use this file
  5. except in compliance with the License. You may obtain a copy of the
  6. License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by
  7. applicable law or agreed to in writing, software distributed under the
  8. License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  9. CONDITIONS OF ANY KIND, either express or implied. See the License for
  10. the specific language governing permissions and limitations under the
  11. License.
  12. -->
  13. <resources
  14. xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
  15. <dimen name="tab_width">180dp</dimen>
  16. <dimen name="tab_height">44dp</dimen>
  17. <dimen name="tab_overlap">8dp</dimen>
  18. <dimen name="tab_addoverlap">14dp</dimen>
  19. <dimen name="tab_slice">15.5dp</dimen>
  20. <dimen name="tab_focus_stroke">2dip</dimen>
  21. <dimen name="max_tab_width">300dp</dimen>
  22. <dimen name="bookmarkThumbnailWidth">90dip</dimen>
  23. <dimen name="bookmarkThumbnailHeight">80dip</dimen>
  24. <!-- Height determined by measuring the TableLayout in
  25. browser_add_bookmark_content and matching that. -->
  26. <dimen name="folder_selector_height">181dip</dimen>
  27. <dimen name="widgetItemMinHeight">48dip</dimen>
  28. <dimen name="favicon_size">16dip</dimen>
  29. <dimen name="favicon_padded_size">20dip</dimen>
  30. <dimen name="qc_radius_start">65dip</dimen>
  31. <dimen name="qc_radius_increment">80dip</dimen>
  32. <dimen name="qc_slop">10dip</dimen>
  33. <dimen name="qc_touch_offset">15dip</dimen>
  34. <dimen name="qc_tab_title_height">24dip</dimen>
  35. <dimen name="qc_thumb_width">150dip</dimen>
  36. <dimen name="qc_thumb_height">100dip</dimen>
  37. <dimen name="qc_item_size">40dip</dimen>
  38. <dimen name="bookmark_widget_thumb_size">32dip</dimen>
  39. <dimen name="bookmark_widget_favicon_size">26dip</dimen>
  40. <!-- For the most visited page (we use px as these are adjusted by the browser) -->
  41. <dimen name="mv_max_width">450px</dimen>
  42. <dimen name="mv_item_width">80px</dimen>
  43. <dimen name="mv_item_width_portrait">80px</dimen>
  44. <dimen name="mv_border_width">2px</dimen>
  45. <dimen name="tab_padding_top">12dp</dimen>
  46. <dimen name="tab_first_padding_left">12dp</dimen>
  47. <dimen name="list_favicon_padding">5dip</dimen>
  48. <dimen name="list_favicon_corner_radius">3dip</dimen>
  49. <dimen name="tab_favicon_corner_radius">2dip</dimen>
  50. <dimen name="widgetThumbnailHeight">94dip</dimen>
  51. <dimen name="widgetHorizontalSpacing">6dip</dimen>
  52. <dimen name="widgetVerticalSpacing">6dip</dimen>
  53. <dimen name="widgetColumnWidth">80dip</dimen>
  54. <!-- For the combined Bookmarks History view -->
  55. <dimen name="combo_paddingTop">0dip</dimen>
  56. <dimen name="combo_horizontalSpacing">6dip</dimen>
  57. <dimen name="tab_view_thumbnail_height">76dip</dimen>
  58. <!-- Preference activity side margins -->
  59. <dimen name="preference_screen_side_margin">0dp</dimen>
  60. <!-- Preference activity side margins negative-->
  61. <dimen name="preference_screen_side_margin_negative">0dp</dimen>
  62. <!-- Preference widget area width (to the left of the text) -->
  63. <dimen name="preference_widget_width">56dp</dimen>
  64. <dimen name="nav_tab_spacing">8dp</dimen>
  65. <dimen name="menu_width">240dip</dimen>
  66. <dimen name="menu_height">32dip</dimen>
  67. <dimen name="toolbar_height">52dip</dimen>
  68. <dimen name="tab_thumbnail_width">240dip</dimen>
  69. <dimen name="tab_thumbnail_height">160dip</dimen>
  70. <dimen name="nav_tab_width">240dip</dimen>
  71. <dimen name="nav_tab_height">160dip</dimen>
  72. <dimen name="nav_tab_titleheight">32dip</dimen>
  73. <dimen name="nav_tab_text_normal">18sp</dimen>
  74. <dimen name="nav_tab_text_small">14sp</dimen>
  75. <dimen name="suggest_item_padding">8dp</dimen>
  76. <dimen name="progress_bar_margin">-11dip</dimen>
  77. </resources>