styles.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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="Theme.Light.CustomOverscroll" parent="@android:style/Theme.DeviceDefault">
  21. <item name="android:colorEdgeEffect">@color/folder_edge_effect_color</item>
  22. </style>
  23. <style name="Theme.Dark.CustomOverscroll" parent="@android:style/Theme.DeviceDefault">
  24. <item name="android:colorEdgeEffect">@color/workspace_edge_effect_color</item>
  25. </style>
  26. <style name="Icon">
  27. <item name="android:layout_width">match_parent</item>
  28. <item name="android:layout_height">match_parent</item>
  29. <item name="android:layout_gravity">center</item>
  30. <item name="android:gravity">center_horizontal</item>
  31. <item name="android:singleLine">true</item>
  32. <item name="android:ellipsize">marquee</item>
  33. <item name="android:textColor">@color/workspace_icon_text_color</item>
  34. <item name="android:shadowRadius">2.0</item>
  35. <item name="android:shadowColor">#B0000000</item>
  36. <item name="android:fontFamily">sans-serif-condensed</item>
  37. </style>
  38. <style name="Icon.AllApps">
  39. <item name="android:background">@null</item>
  40. <item name="android:textColor">@color/quantum_panel_text_color</item>
  41. <item name="android:drawablePadding">@dimen/dynamic_grid_icon_drawable_padding</item>
  42. <item name="android:shadowRadius">0</item>
  43. <item name="customShadows">false</item>
  44. </style>
  45. <style name="Icon.Folder">
  46. <item name="android:background">@null</item>
  47. <item name="android:textColor">@color/quantum_panel_text_color</item>
  48. <item name="android:shadowRadius">0</item>
  49. <item name="customShadows">false</item>
  50. </style>
  51. <style name="SearchButton"></style>
  52. <style name="DropTargetButtonContainer">
  53. <item name="android:layout_width">0dp</item>
  54. <item name="android:layout_height">match_parent</item>
  55. </style>
  56. <style name="DropTargetButtonBase">
  57. <item name="android:layout_width">wrap_content</item>
  58. <item name="android:layout_height">match_parent</item>
  59. <item name="android:layout_gravity">center</item>
  60. <item name="android:gravity">center_vertical</item>
  61. <item name="android:drawablePadding">7.5dp</item>
  62. <item name="android:paddingLeft">25dp</item>
  63. <item name="android:paddingRight">25dp</item>
  64. <item name="android:textColor">#FFFFFFFF</item>
  65. <item name="android:textSize">@dimen/drop_target_text_size</item>
  66. <item name="android:singleLine">true</item>
  67. <item name="android:ellipsize">end</item>
  68. <item name="android:shadowColor">#FF000000</item>
  69. <item name="android:shadowDx">0.0</item>
  70. <item name="android:shadowDy">1.0</item>
  71. <item name="android:shadowRadius">4.0</item>
  72. </style>
  73. <style name="DropTargetButton" parent="DropTargetButtonBase" />
  74. <style name="PreloadIcon">
  75. <item name="background">@drawable/virtual_preload</item>
  76. <item name="indicatorSize">4dp</item>
  77. <item name="ringOutset">4dp</item>
  78. </style>
  79. <style name="PreloadIcon.Folder">
  80. <item name="background">@drawable/virtual_preload_folder</item>
  81. <item name="indicatorSize">4dp</item>
  82. <item name="ringOutset">4dp</item>
  83. </style>
  84. </resources>