styles.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. /*
  4. * Copyright (C) 2008 The Android Open Source Project
  5. *
  6. * Licensed under the Apache License, Version 2.0 (the "License");
  7. * you may not use this file except in compliance with the License.
  8. * You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. */
  18. -->
  19. <resources>
  20. <style name="WorkspaceIcon">
  21. <item name="android:layout_width">match_parent</item>
  22. <item name="android:layout_height">match_parent</item>
  23. <item name="android:layout_gravity">center</item>
  24. <item name="android:gravity">center_horizontal</item>
  25. <item name="android:singleLine">true</item>
  26. <item name="android:ellipsize">marquee</item>
  27. <item name="android:textColor">@color/workspace_icon_text_color</item>
  28. <item name="android:shadowRadius">2.0</item>
  29. <item name="android:shadowColor">#B0000000</item>
  30. <item name="android:fontFamily">sans-serif-condensed</item>
  31. </style>
  32. <style name="WorkspaceIcon.Portrait">
  33. </style>
  34. <style name="WorkspaceIcon.Landscape">
  35. </style>
  36. <style name="WorkspaceIcon.AppsCustomize">
  37. <item name="android:background">@null</item>
  38. <item name="android:textColor">@color/quantum_panel_text_color</item>
  39. <item name="android:drawablePadding">@dimen/dynamic_grid_icon_drawable_padding</item>
  40. <item name="android:shadowRadius">0</item>
  41. <item name="customShadows">false</item>
  42. </style>
  43. <style name="WorkspaceIcon.Folder">
  44. <item name="android:background">@null</item>
  45. <item name="android:textColor">@color/quantum_panel_text_color</item>
  46. <item name="android:shadowRadius">0</item>
  47. <item name="customShadows">false</item>
  48. </style>
  49. <style name="SearchDropTargetBar">
  50. </style>
  51. <style name="SearchButton">
  52. </style>
  53. <style name="DropTargetButtonContainer">
  54. <item name="android:layout_width">0dp</item>
  55. <item name="android:layout_height">match_parent</item>
  56. </style>
  57. <style name="DropTargetButton">
  58. <item name="android:layout_width">wrap_content</item>
  59. <item name="android:layout_height">match_parent</item>
  60. <item name="android:layout_gravity">center</item>
  61. <item name="android:gravity">center_vertical</item>
  62. <item name="android:drawablePadding">7.5dp</item>
  63. <item name="android:paddingLeft">25dp</item>
  64. <item name="android:paddingRight">25dp</item>
  65. <item name="android:textColor">#FFFFFFFF</item>
  66. <item name="android:textSize">16sp</item>
  67. <item name="android:singleLine">true</item>
  68. <item name="android:ellipsize">end</item>
  69. <item name="android:shadowColor">#FF000000</item>
  70. <item name="android:shadowDx">0.0</item>
  71. <item name="android:shadowDy">1.0</item>
  72. <item name="android:shadowRadius">4.0</item>
  73. </style>
  74. <style name="TabIndicator">
  75. <item name="android:layout_width">wrap_content</item>
  76. <item name="android:layout_height">match_parent</item>
  77. <item name="android:gravity">center</item>
  78. <item name="android:paddingLeft">20dp</item>
  79. <item name="android:paddingRight">20dp</item>
  80. <item name="android:background">@drawable/tab_widget_indicator_selector</item>
  81. <item name="android:textColor">?android:attr/textColorPrimary</item>
  82. <item name="android:textSize">12sp</item>
  83. <item name="android:textStyle">bold</item>
  84. <item name="android:textAllCaps">true</item>
  85. <item name="android:singleLine">true</item>
  86. <item name="android:ellipsize">end</item>
  87. </style>
  88. <style name="TabIndicator.AppsCustomize">
  89. <!-- Overridden in values-land -->
  90. </style>
  91. <style name="MarketButton">
  92. <item name="android:paddingLeft">5dp</item>
  93. <item name="android:paddingRight">5dp</item>
  94. <item name="android:textColor">@color/workspace_all_apps_and_delete_zone_text_color</item>
  95. <item name="android:textSize">18sp</item>
  96. <item name="android:shadowColor">@color/workspace_all_apps_and_delete_zone_text_shadow_color</item>
  97. <item name="android:shadowDx">0.0</item>
  98. <item name="android:shadowDy">0.0</item>
  99. <item name="android:shadowRadius">2.0</item>
  100. </style>
  101. <style name="PreloadIcon">
  102. <item name="background">@drawable/virtual_preload</item>
  103. <item name="indicatorSize">4dp</item>
  104. <item name="ringOutset">4dp</item>
  105. </style>
  106. <style name="PreloadIcon.Folder">
  107. <item name="background">@drawable/virtual_preload_folder</item>
  108. <item name="indicatorSize">4dp</item>
  109. <item name="ringOutset">4dp</item>
  110. </style>
  111. <!-- Overridden in device overlays -->
  112. <style name="PagedViewWidgetImageView">
  113. <item name="android:paddingLeft">@dimen/app_widget_preview_padding_left</item>
  114. </style>
  115. <style name="SearchButton.WithPaddingStart">
  116. <item name="android:paddingLeft">8dp</item>
  117. </style>
  118. </resources>