styles.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. <style name="TextAppearance.GestureTutorial"
  16. parent="android:TextAppearance.Material.Body1" />
  17. <style name="TextAppearance.GestureTutorial.CallToAction"
  18. parent="android:TextAppearance.Material.Body2" />
  19. <style name="TextAppearance.GestureTutorial.Title"
  20. parent="TextAppearance.GestureTutorial">
  21. <item name="android:gravity">center</item>
  22. <item name="android:textColor">?android:attr/textColorPrimary</item>
  23. <item name="android:textSize">28sp</item>
  24. </style>
  25. <style name="TextAppearance.GestureTutorial.Subtitle"
  26. parent="TextAppearance.GestureTutorial">
  27. <item name="android:gravity">center</item>
  28. <item name="android:textColor">?android:attr/textColorTertiary</item>
  29. <item name="android:letterSpacing">0.03</item>
  30. <item name="android:textSize">21sp</item>
  31. </style>
  32. <style name="TextAppearance.GestureTutorial.Feedback.Title"
  33. parent="TextAppearance.GestureTutorial">
  34. <item name="android:gravity">start</item>
  35. <item name="android:textColor">?android:attr/textColorPrimary</item>
  36. <item name="android:fontFamily">google-sans-regular</item>
  37. <item name="android:letterSpacing">0.03</item>
  38. <item name="android:textSize">36sp</item>
  39. <item name="android:lineHeight">44sp</item>
  40. </style>
  41. <style name="TextAppearance.GestureTutorial.Dialog.Title"
  42. parent="TextAppearance.GestureTutorial.Feedback.Title">
  43. <item name="android:gravity">center_horizontal</item>
  44. <item name="android:fontFamily">google-sans</item>
  45. <item name="android:lineHeight">32sp</item>
  46. <item name="android:textSize">24sp</item>
  47. </style>
  48. <style name="TextAppearance.GestureTutorial.Feedback.Subtitle"
  49. parent="TextAppearance.GestureTutorial">
  50. <item name="android:gravity">start</item>
  51. <item name="android:textColor">?android:attr/textColorPrimary</item>
  52. <item name="android:fontFamily">google-sans-text</item>
  53. <item name="android:letterSpacing">0.03</item>
  54. <item name="android:textSize">18sp</item>
  55. <item name="android:lineHeight">24sp</item>
  56. </style>
  57. <style name="TextAppearance.GestureTutorial.Dialog.Subtitle"
  58. parent="TextAppearance.GestureTutorial.Feedback.Subtitle">
  59. <item name="android:gravity">center_horizontal</item>
  60. <item name="android:fontFamily">google-sans-text</item>
  61. <item name="android:letterSpacing">0.025</item>
  62. <item name="android:lineHeight">20sp</item>
  63. <item name="android:textSize">14sp</item>
  64. </style>
  65. <style name="TextAppearance.GestureTutorial.Feedback.Subtext"
  66. parent="TextAppearance.GestureTutorial.Feedback.Subtitle">
  67. <item name="android:textSize">16sp</item>
  68. <item name="android:textColor">@color/gesture_tutorial_primary_color</item>
  69. <item name="android:gravity">center</item>
  70. </style>
  71. <style name="TextAppearance.GestureTutorial.Feedback.Subtext.Dark"
  72. parent="TextAppearance.GestureTutorial.Feedback.Subtext">
  73. <item name="android:textColor">?android:attr/textColorPrimary</item>
  74. </style>
  75. <style name="TextAppearance.GestureTutorial.ButtonLabel"
  76. parent="TextAppearance.GestureTutorial.CallToAction">
  77. <item name="android:gravity">center</item>
  78. <item name="android:textColor">@color/gesture_tutorial_action_button_label_color</item>
  79. <item name="android:letterSpacing">0.02</item>
  80. <item name="android:textSize">16sp</item>
  81. <item name="android:textAllCaps">false</item>
  82. </style>
  83. <style name="TextAppearance.GestureTutorial.CancelButtonLabel"
  84. parent="TextAppearance.GestureTutorial.ButtonLabel">
  85. <item name="android:textColor">?android:attr/textColorPrimary</item>
  86. </style>
  87. <style name="TextAppearance.GestureTutorial.TextButtonLabel"
  88. parent="TextAppearance.GestureTutorial.ButtonLabel">
  89. <item name="android:textColor">@color/gesture_tutorial_primary_color</item>
  90. </style>
  91. <style name="TextAppearance.GestureTutorial.LinkText"
  92. parent="TextAppearance.GestureTutorial.Feedback.Subtitle">
  93. <item name="android:textSize">14sp</item>
  94. </style>
  95. <style name="AllSetTheme" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar">
  96. <item name="android:navigationBarColor">@android:color/transparent</item>
  97. <item name="android:statusBarColor">@android:color/transparent</item>
  98. <item name="android:enforceNavigationBarContrast">false</item>
  99. <item name="android:windowLightStatusBar">true</item>
  100. <item name="android:windowBackground">@android:color/transparent</item>
  101. </style>
  102. <!--
  103. Can be applied to views to color things like ripples and list highlights the workspace text
  104. color.
  105. -->
  106. <style name="ThemeControlHighlightWorkspaceColor">
  107. <item name="android:colorControlHighlight">?attr/workspaceTextColor</item>
  108. </style>
  109. <style name="OverviewActionButton"
  110. parent="@android:style/Widget.DeviceDefault.Button.Borderless">
  111. <item name="android:textColor">@color/overview_button</item>
  112. <item name="android:drawableTint">@color/overview_button</item>
  113. <item name="android:tint">?android:attr/textColorPrimary</item>
  114. <item name="android:drawablePadding">8dp</item>
  115. <item name="android:textAllCaps">false</item>
  116. </style>
  117. <style name="OverviewClearAllButton" parent="@android:style/Widget.DeviceDefault.Button">
  118. <item name="android:background">@drawable/bg_overview_clear_all_button</item>
  119. <item name="android:minWidth">96dp</item>
  120. <item name="android:minHeight">48dp</item>
  121. <item name="android:stateListAnimator">@null</item>
  122. </style>
  123. <!-- Icon displayed on the taskbar -->
  124. <style name="BaseIcon.Workspace.Taskbar" >
  125. <item name="iconDisplay">taskbar</item>
  126. </style>
  127. <style name="TaskbarEdu.Button.Close" parent="@android:style/Widget.Material.Button">
  128. <item name="android:background">@drawable/button_taskbar_edu_bordered</item>
  129. <item name="android:stateListAnimator">@null</item>
  130. <item name="android:textSize">16sp</item>
  131. <item name="android:padding">4dp</item>
  132. </style>
  133. <style name="TaskbarEdu.Button.Next" parent="@android:style/Widget.Material.Button">
  134. <item name="android:background">@drawable/button_taskbar_edu_colored</item>
  135. <item name="android:stateListAnimator">@null</item>
  136. <item name="android:textSize">16sp</item>
  137. <item name="android:padding">4dp</item>
  138. </style>
  139. <style name="TextAppearance.TaskbarEdu.Title"
  140. parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle" >
  141. <item name="android:layout_marginHorizontal">16dp</item>
  142. <item name="android:gravity">center_horizontal</item>
  143. <item name="android:fontFamily">google-sans</item>
  144. <item name="android:textColor">?android:attr/textColorPrimary</item>
  145. <item name="android:textSize">24sp</item>
  146. <item name="android:lines">2</item>
  147. </style>
  148. </resources>