styles.xml 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2018 The Android Open Source Project
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. -->
  14. <resources>
  15. <!-- Task Menu layout styles. -->
  16. <style name="TaskMenu">
  17. <item name="android:orientation">vertical</item>
  18. </style>
  19. <!-- Task Menu Option layout styles. -->
  20. <style name="TaskMenu.Option">
  21. <item name="android:layout_width">match_parent</item>
  22. <item name="android:layout_height">wrap_content</item>
  23. </style>
  24. <style name="TextAppearance.GestureTutorial"
  25. parent="android:TextAppearance.Material.Body1" />
  26. <style name="TextAppearance.GestureTutorial.CallToAction"
  27. parent="android:TextAppearance.Material.Body2" />
  28. <style name="TextAppearance.GestureTutorial.Title"
  29. parent="TextAppearance.GestureTutorial">
  30. <item name="android:gravity">center</item>
  31. <item name="android:textColor">?android:attr/textColorPrimary</item>
  32. <item name="android:textSize">28sp</item>
  33. </style>
  34. <style name="TextAppearance.GestureTutorial.Subtitle"
  35. parent="TextAppearance.GestureTutorial">
  36. <item name="android:gravity">center</item>
  37. <item name="android:textColor">?android:attr/textColorTertiary</item>
  38. <item name="android:letterSpacing">0.03</item>
  39. <item name="android:textSize">21sp</item>
  40. </style>
  41. <style name="TextAppearance.GestureTutorial.Feedback"
  42. parent="TextAppearance.GestureTutorial">
  43. <item name="android:gravity">center</item>
  44. <item name="android:textColor">?android:attr/textColorPrimary</item>
  45. <item name="android:letterSpacing">0.03</item>
  46. <item name="android:textSize">21sp</item>
  47. </style>
  48. <style name="TextAppearance.GestureTutorial.ButtonLabel"
  49. parent="TextAppearance.GestureTutorial.CallToAction">
  50. <item name="android:gravity">center</item>
  51. <item name="android:textColor">@color/gesture_tutorial_action_button_label_color</item>
  52. <item name="android:letterSpacing">0.02</item>
  53. <item name="android:textSize">16sp</item>
  54. <item name="android:textAllCaps">false</item>
  55. </style>
  56. <style name="TextAppearance.GestureTutorial.TextButtonLabel"
  57. parent="TextAppearance.GestureTutorial.ButtonLabel">
  58. <item name="android:textColor">@color/gesture_tutorial_primary_color</item>
  59. </style>
  60. <!--
  61. Can be applied to views to color things like ripples and list highlights the workspace text
  62. color.
  63. -->
  64. <style name="ThemeControlHighlightWorkspaceColor">
  65. <item name="android:colorControlHighlight">?attr/workspaceTextColor</item>
  66. </style>
  67. <style name="OverviewActionButton"
  68. parent="@android:style/Widget.DeviceDefault.Button.Borderless">
  69. <item name="android:textColor">@color/overview_button</item>
  70. <item name="android:drawableTint">@color/overview_button</item>
  71. <item name="android:tint">?attr/workspaceTextColor</item>
  72. <item name="android:drawablePadding">8dp</item>
  73. <item name="android:textAllCaps">false</item>
  74. </style>
  75. </resources>