Jon Spivack | 23a76da | 2021-04-14 18:46:32 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2021 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> |
Jon Spivack | 1e1f85b | 2021-05-27 14:19:34 -0700 | [diff] [blame] | 18 | <!-- App themes --> |
Jon Spivack | d317f17 | 2021-07-28 16:28:43 -0700 | [diff] [blame] | 19 | <style name="LauncherTheme" parent="@style/BaseLauncherTheme"> |
Jon Spivack | 1e1f85b | 2021-05-27 14:19:34 -0700 | [diff] [blame] | 20 | <item name="overviewButtonTextColor">@color/go_overview_text_color</item> |
| 21 | <item name="overviewButtonIconColor">@color/go_overview_text_color</item> |
| 22 | <item name="overviewButtonBackgroundColor">@color/go_overview_button_color</item> |
Jon Spivack | 58905b4 | 2021-06-24 14:55:40 -0700 | [diff] [blame] | 23 | <item name="modalDialogBackground">@color/go_modal_dialog_background</item> |
Jon Spivack | 1e1f85b | 2021-05-27 14:19:34 -0700 | [diff] [blame] | 24 | </style> |
| 25 | |
Jon Spivack | d317f17 | 2021-07-28 16:28:43 -0700 | [diff] [blame] | 26 | <style name="LauncherTheme.Dark" parent="@style/LauncherTheme"> |
Jon Spivack | 1e1f85b | 2021-05-27 14:19:34 -0700 | [diff] [blame] | 27 | <item name="overviewButtonTextColor">@color/go_overview_text_color_dark</item> |
| 28 | <item name="overviewButtonIconColor">@color/go_overview_text_color_dark</item> |
| 29 | <item name="overviewButtonBackgroundColor">@color/go_overview_button_color_dark</item> |
Jon Spivack | 58905b4 | 2021-06-24 14:55:40 -0700 | [diff] [blame] | 30 | <item name="modalDialogBackground">@color/go_modal_dialog_background_dark</item> |
Jon Spivack | 1e1f85b | 2021-05-27 14:19:34 -0700 | [diff] [blame] | 31 | </style> |
| 32 | |
| 33 | <!-- Overview --> |
Jon Spivack | 6a7094d | 2021-05-10 18:22:52 -0700 | [diff] [blame] | 34 | <style name="GoOverviewActionButton"> |
Jon Spivack | 1e1f85b | 2021-05-27 14:19:34 -0700 | [diff] [blame] | 35 | <item name="android:tint">?attr/overviewButtonIconColor</item> |
| 36 | <item name="android:backgroundTint">?attr/overviewButtonBackgroundColor</item> |
Jon Spivack | 6a7094d | 2021-05-10 18:22:52 -0700 | [diff] [blame] | 37 | <item name="android:background">@drawable/round_rect_button</item> |
| 38 | <item name="android:layout_width">@dimen/go_overview_button_width</item> |
| 39 | <item name="android:layout_height">@dimen/go_overview_button_height</item> |
| 40 | <item name="android:layout_gravity">center_horizontal</item> |
| 41 | </style> |
| 42 | |
| 43 | <style name="GoOverviewActionButtonCaption"> |
Jon Spivack | f90db8a | 2021-05-14 19:02:36 -0700 | [diff] [blame] | 44 | <item name="android:fontFamily">sans-serif-medium</item> |
Jon Spivack | 6a7094d | 2021-05-10 18:22:52 -0700 | [diff] [blame] | 45 | <item name="android:textSize">14dp</item> |
Jon Spivack | 1e1f85b | 2021-05-27 14:19:34 -0700 | [diff] [blame] | 46 | <item name="android:textColor">?attr/overviewButtonTextColor</item> |
Jon Spivack | 6a7094d | 2021-05-10 18:22:52 -0700 | [diff] [blame] | 47 | <item name="android:lineHeight">20dp</item> |
| 48 | <item name="android:textAlignment">center</item> |
| 49 | <item name="android:importantForAccessibility">no</item> |
| 50 | <item name="android:layout_width">wrap_content</item> |
| 51 | <item name="android:layout_height">wrap_content</item> |
| 52 | <item name="android:layout_marginTop">@dimen/go_overview_button_caption_margin</item> |
| 53 | <item name="android:layout_gravity">center_horizontal</item> |
| 54 | </style> |
| 55 | |
| 56 | <style name="GoOverviewActionButtonContainer"> |
| 57 | <item name="android:layout_width">@dimen/go_overview_button_container_width</item> |
| 58 | <item name="android:layout_height">wrap_content</item> |
| 59 | <item name="android:orientation">vertical</item> |
Jon Spivack | 23a76da | 2021-04-14 18:46:32 -0700 | [diff] [blame] | 60 | </style> |
Jon Spivack | 58905b4 | 2021-06-24 14:55:40 -0700 | [diff] [blame] | 61 | |
| 62 | <!-- Modal Dialogs --> |
| 63 | <style name="ModalDialogTitle"> |
| 64 | <item name="android:fontFamily">sans-serif-medium</item> |
| 65 | <item name="android:textSize">20sp</item> |
| 66 | <item name="android:textColor">?android:attr/textColorPrimary</item> |
| 67 | <item name="android:lineHeight">24dp</item> |
| 68 | <item name="android:layout_width">match_parent</item> |
| 69 | <item name="android:layout_height">wrap_content</item> |
| 70 | <item name="android:layout_gravity">center_horizontal</item> |
| 71 | </style> |
| 72 | |
| 73 | <style name="ModalDialogText"> |
| 74 | <item name="android:fontFamily">sans-serif-medium</item> |
| 75 | <item name="android:textSize">16sp</item> |
Jon Spivack | a7cf89f | 2021-08-18 12:08:38 -0700 | [diff] [blame] | 76 | <item name="android:textColor">?android:attr/textColorTertiary</item> |
Jon Spivack | 58905b4 | 2021-06-24 14:55:40 -0700 | [diff] [blame] | 77 | <item name="android:lineHeight">24dp</item> |
| 78 | <item name="android:layout_width">match_parent</item> |
| 79 | <item name="android:layout_height">wrap_content</item> |
| 80 | <item name="android:layout_gravity">center_horizontal</item> |
| 81 | </style> |
| 82 | |
| 83 | <style name="ModalDialogButton" parent="@style/Widget.AppCompat.Button.Borderless"> |
| 84 | <item name="android:textSize">14sp</item> |
| 85 | <item name="android:textColor">?android:attr/colorAccent</item> |
| 86 | <item name="android:lineHeight">20dp</item> |
| 87 | <item name="android:layout_width">wrap_content</item> |
| 88 | <item name="android:layout_height">wrap_content</item> |
| 89 | </style> |
Jon Spivack | 23a76da | 2021-04-14 18:46:32 -0700 | [diff] [blame] | 90 | </resources> |