styles.xml 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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="android:paddingLeft">4dp</item>
  44. <item name="android:paddingRight">4dp</item>
  45. <item name="customShadows">false</item>
  46. </style>
  47. <style name="Icon.Folder">
  48. <item name="android:background">@null</item>
  49. <item name="android:textColor">@color/quantum_panel_text_color</item>
  50. <item name="android:shadowRadius">0</item>
  51. <item name="customShadows">false</item>
  52. </style>
  53. <style name="SearchButton"></style>
  54. <style name="DropTargetButtonContainer">
  55. <item name="android:layout_width">0dp</item>
  56. <item name="android:layout_height">match_parent</item>
  57. </style>
  58. <style name="DropTargetButtonBase">
  59. <item name="android:layout_width">wrap_content</item>
  60. <item name="android:layout_height">match_parent</item>
  61. <item name="android:layout_gravity">center</item>
  62. <item name="android:gravity">center_vertical</item>
  63. <item name="android:drawablePadding">7.5dp</item>
  64. <item name="android:paddingLeft">25dp</item>
  65. <item name="android:paddingRight">25dp</item>
  66. <item name="android:textColor">#FFFFFFFF</item>
  67. <item name="android:textSize">@dimen/drop_target_text_size</item>
  68. <item name="android:singleLine">true</item>
  69. <item name="android:ellipsize">end</item>
  70. <item name="android:shadowColor">#FF000000</item>
  71. <item name="android:shadowDx">0.0</item>
  72. <item name="android:shadowDy">1.0</item>
  73. <item name="android:shadowRadius">4.0</item>
  74. </style>
  75. <style name="DropTargetButton" parent="DropTargetButtonBase" />
  76. <style name="PreloadIcon">
  77. <item name="background">@drawable/virtual_preload</item>
  78. <item name="indicatorSize">4dp</item>
  79. <item name="ringOutset">4dp</item>
  80. </style>
  81. <style name="PreloadIcon.Folder">
  82. <item name="background">@drawable/virtual_preload_folder</item>
  83. <item name="indicatorSize">4dp</item>
  84. <item name="ringOutset">4dp</item>
  85. </style>
  86. </resources>