styles.xml 3.8 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="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"></style>
  33. <style name="WorkspaceIcon.Landscape"></style>
  34. <style name="WorkspaceIcon.AppsCustomize">
  35. <item name="android:background">@null</item>
  36. <item name="android:textColor">@color/quantum_panel_text_color</item>
  37. <item name="android:drawablePadding">@dimen/dynamic_grid_icon_drawable_padding</item>
  38. <item name="android:shadowRadius">0</item>
  39. <item name="customShadows">false</item>
  40. </style>
  41. <style name="WorkspaceIcon.Folder">
  42. <item name="android:background">@null</item>
  43. <item name="android:textColor">@color/quantum_panel_text_color</item>
  44. <item name="android:shadowRadius">0</item>
  45. <item name="customShadows">false</item>
  46. </style>
  47. <style name="SearchButton"></style>
  48. <style name="DropTargetButtonContainer">
  49. <item name="android:layout_width">0dp</item>
  50. <item name="android:layout_height">match_parent</item>
  51. </style>
  52. <style name="DropTargetButton.Base">
  53. <item name="android:layout_width">wrap_content</item>
  54. <item name="android:layout_height">match_parent</item>
  55. <item name="android:layout_gravity">center</item>
  56. <item name="android:gravity">center_vertical</item>
  57. <item name="android:drawablePadding">7.5dp</item>
  58. <item name="android:paddingLeft">25dp</item>
  59. <item name="android:paddingRight">25dp</item>
  60. <item name="android:textColor">#FFFFFFFF</item>
  61. <item name="android:textSize">@dimen/drop_target_text_size</item>
  62. <item name="android:singleLine">true</item>
  63. <item name="android:ellipsize">end</item>
  64. <item name="android:shadowColor">#FF000000</item>
  65. <item name="android:shadowDx">0.0</item>
  66. <item name="android:shadowDy">1.0</item>
  67. <item name="android:shadowRadius">4.0</item>
  68. </style>
  69. <style name="DropTargetButton" parent="DropTargetButton.Base"></style>
  70. <style name="PreloadIcon">
  71. <item name="background">@drawable/virtual_preload</item>
  72. <item name="indicatorSize">4dp</item>
  73. <item name="ringOutset">4dp</item>
  74. </style>
  75. <style name="PreloadIcon.Folder">
  76. <item name="background">@drawable/virtual_preload_folder</item>
  77. <item name="indicatorSize">4dp</item>
  78. <item name="ringOutset">4dp</item>
  79. </style>
  80. <!-- Overridden in device overlays -->
  81. <style name="PagedViewWidgetImageView">
  82. <item name="android:paddingLeft">@dimen/app_widget_preview_padding_left</item>
  83. </style>
  84. </resources>