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