Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [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> |
Santiago Etchebehere | 3e09611 | 2019-05-28 14:38:21 -0700 | [diff] [blame] | 18 | |
| 19 | <!-- Main themes --> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 20 | <style name="CustomizationTheme" parent="@android:style/Theme.DeviceDefault.Settings"> |
| 21 | <item name="colorPrimary">?android:colorPrimary</item> |
| 22 | |
Santiago Etchebehere | eb18698 | 2019-01-31 14:49:06 -0800 | [diff] [blame] | 23 | <item name="android:statusBarColor">?android:colorPrimary</item> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 24 | |
Santiago Etchebehere | 631bfe3 | 2019-02-06 18:12:01 -0800 | [diff] [blame] | 25 | <item name="android:navigationBarColor">?android:colorPrimaryDark</item> |
Santiago Etchebehere | f0e2dad | 2019-05-03 18:29:59 -0700 | [diff] [blame] | 26 | <item name="android:navigationBarDividerColor">@android:color/transparent</item> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 27 | |
| 28 | <item name="selectableItemBackground">?android:attr/selectableItemBackground</item> |
Santiago Etchebehere | 418a40e | 2019-03-25 14:28:37 -0700 | [diff] [blame] | 29 | <item name="dialogPreferredPadding">24dp</item> |
| 30 | <item name="colorControlHighlight">@color/ripple_material_dark</item> |
Santiago Etchebehere | 9474b9c | 2019-04-17 17:54:11 -0300 | [diff] [blame] | 31 | |
| 32 | <item name="actionButtonStyle">?android:actionButtonStyle</item> |
| 33 | <item name="actionMenuTextColor">?android:actionMenuTextColor</item> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 34 | </style> |
Santiago Etchebehere | 3e09611 | 2019-05-28 14:38:21 -0700 | [diff] [blame] | 35 | |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 36 | <style name="CustomizationTheme.NoActionBar"> |
| 37 | <item name="android:windowActionBar">false</item> |
| 38 | <item name="android:windowNoTitle">true</item> |
Santiago Etchebehere | b5fed02 | 2019-02-21 16:59:23 -0800 | [diff] [blame] | 39 | <item name="android:fitsSystemWindows">false</item> |
| 40 | <item name="android:windowDrawsSystemBarBackgrounds">true</item> |
Santiago Etchebehere | 8e8b474 | 2020-03-11 19:51:52 -0700 | [diff] [blame^] | 41 | |
| 42 | <item name="android:windowBackground">@android:color/transparent</item> |
| 43 | <item name="android:windowContentOverlay">@null</item> |
| 44 | <item name="android:windowDisablePreview">true</item> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 45 | </style> |
Santiago Etchebehere | 10e79f1 | 2018-12-19 15:53:42 -0800 | [diff] [blame] | 46 | |
Santiago Etchebehere | 3e09611 | 2019-05-28 14:38:21 -0700 | [diff] [blame] | 47 | <!-- Bottom nav --> |
Santiago Etchebehere | f18580d | 2019-01-10 10:24:42 -0800 | [diff] [blame] | 48 | <style name="BottomNavStyle"> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 49 | <item name="itemIconTint">@color/bottom_nav_item_color</item> |
| 50 | <item name="itemTextColor">@color/bottom_nav_item_color</item> |
Santiago Etchebehere | 6507b7a | 2019-06-24 15:05:32 -0700 | [diff] [blame] | 51 | <item name="itemTextAppearanceActive">@style/BottomNavTextAppearanceActive</item> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 52 | <item name="itemTextAppearanceInactive">@style/BottomNavTextAppearance</item> |
Amin Shaikh | 89eef63 | 2019-04-19 17:32:43 -0400 | [diff] [blame] | 53 | <item name="itemBackground">?android:attr/selectableItemBackgroundBorderless</item> |
Beth Thibodeau | 3e000c4 | 2019-03-11 11:37:41 -0400 | [diff] [blame] | 54 | <item name="android:background">?android:colorPrimary</item> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 55 | </style> |
| 56 | |
Santiago Etchebehere | 58e1b52 | 2019-12-05 10:25:13 -0800 | [diff] [blame] | 57 | <style name="BottomNavTextAppearance" parent="TitleTextAppearance"> |
Beth Thibodeau | 3e000c4 | 2019-03-11 11:37:41 -0400 | [diff] [blame] | 58 | <item name="android:textSize">@dimen/bottom_navbar_font_text_size</item> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 59 | </style> |
Santiago Etchebehere | 10e79f1 | 2018-12-19 15:53:42 -0800 | [diff] [blame] | 60 | |
Santiago Etchebehere | 6507b7a | 2019-06-24 15:05:32 -0700 | [diff] [blame] | 61 | <style name="BottomNavTextAppearanceActive" parent="BottomNavTextAppearance"> |
| 62 | <item name="android:textStyle">bold</item> |
| 63 | </style> |
| 64 | |
Santiago Etchebehere | 3e09611 | 2019-05-28 14:38:21 -0700 | [diff] [blame] | 65 | <!-- Common components and widgets --> |
Santiago Etchebehere | 58e1b52 | 2019-12-05 10:25:13 -0800 | [diff] [blame] | 66 | <style name="TitleTextAppearance" parent="@android:style/TextAppearance.DeviceDefault.Widget.ActionBar.Title"/> |
Santiago Etchebehere | 10e79f1 | 2018-12-19 15:53:42 -0800 | [diff] [blame] | 67 | |
| 68 | <style name="ActionPrimaryButton" parent="android:Widget.DeviceDefault.Button.Colored"/> |
Santiago Etchebehere | 273f655 | 2019-01-04 17:33:45 -0800 | [diff] [blame] | 69 | |
Amin Shaikh | 535db3e | 2019-04-19 09:51:41 -0400 | [diff] [blame] | 70 | <style name="ActionSecondaryButton" parent="android:Widget.DeviceDefault.Button.Borderless.Colored"/> |
| 71 | |
Santiago Etchebehere | 3e09611 | 2019-05-28 14:38:21 -0700 | [diff] [blame] | 72 | <!-- Option tiles --> |
Santiago Etchebehere | 58e1b52 | 2019-12-05 10:25:13 -0800 | [diff] [blame] | 73 | <style name="OptionTitleTextAppearance" parent="TitleTextAppearance"> |
Santiago Etchebehere | 273f655 | 2019-01-04 17:33:45 -0800 | [diff] [blame] | 74 | <item name="android:textColor">@color/option_title_color</item> |
Santiago Etchebehere | 78acbb6 | 2019-02-19 15:36:23 -0800 | [diff] [blame] | 75 | <item name="android:textAlignment">center</item> |
Beth Thibodeau | 3e000c4 | 2019-03-11 11:37:41 -0400 | [diff] [blame] | 76 | <item name="android:textSize">@dimen/theme_option_title_font_text_size</item> |
Santiago Etchebehere | 273f655 | 2019-01-04 17:33:45 -0800 | [diff] [blame] | 77 | </style> |
| 78 | |
Santiago Etchebehere | 58e1b52 | 2019-12-05 10:25:13 -0800 | [diff] [blame] | 79 | <style name="CardTitleTextAppearance" parent="TitleTextAppearance"> |
Santiago Etchebehere | 988f99d | 2018-12-20 17:13:12 -0800 | [diff] [blame] | 80 | <item name="android:textStyle">bold</item> |
| 81 | <item name="android:textSize">@dimen/card_title_text_size</item> |
| 82 | </style> |
| 83 | |
Santiago Etchebehere | 551f0c0 | 2019-04-10 10:36:47 -0300 | [diff] [blame] | 84 | <style name="CoverTitleTextAppearance" parent="CardTitleTextAppearance"> |
| 85 | <item name="android:textSize">@dimen/card_cover_title_text_size</item> |
Santiago Etchebehere | 0f074b0 | 2019-06-03 16:29:41 -0700 | [diff] [blame] | 86 | <item name="android:textColor">@color/cover_title_color</item> |
Santiago Etchebehere | 551f0c0 | 2019-04-10 10:36:47 -0300 | [diff] [blame] | 87 | </style> |
| 88 | |
Santiago Etchebehere | 58e1b52 | 2019-12-05 10:25:13 -0800 | [diff] [blame] | 89 | <style name="FontCardTitleStyle" parent="TitleTextAppearance"> |
Santiago Etchebehere | 988f99d | 2018-12-20 17:13:12 -0800 | [diff] [blame] | 90 | <item name="android:textAlignment">center</item> |
Santiago Etchebehere | 988f99d | 2018-12-20 17:13:12 -0800 | [diff] [blame] | 91 | </style> |
| 92 | |
| 93 | <style name="FontCardBodyTextStyle"> |
Santiago Etchebehere | 0831fa8 | 2019-04-26 15:53:52 -0700 | [diff] [blame] | 94 | <item name="android:layout_width">wrap_content</item> |
| 95 | <item name="android:maxWidth">@dimen/font_preview_body_width</item> |
Santiago Etchebehere | 988f99d | 2018-12-20 17:13:12 -0800 | [diff] [blame] | 96 | <item name="android:textAlignment">center</item> |
| 97 | <item name="android:textAppearance">@android:style/TextAppearance.DeviceDefault</item> |
| 98 | </style> |
| 99 | |
Santiago Etchebehere | 3e09611 | 2019-05-28 14:38:21 -0700 | [diff] [blame] | 100 | <!-- Custom theme editor --> |
Santiago Etchebehere | 0831fa8 | 2019-04-26 15:53:52 -0700 | [diff] [blame] | 101 | <style name="EditLabelStyle"> |
Santiago Etchebehere | 05cfcdd | 2019-05-31 14:11:37 -0700 | [diff] [blame] | 102 | <item name="android:textAppearance">@android:style/TextAppearance.DeviceDefault.Widget.Button</item> |
Santiago Etchebehere | f96fb24 | 2019-05-16 17:24:11 -0700 | [diff] [blame] | 103 | <item name="android:textColor">@color/material_white_100</item> |
Santiago Etchebehere | 05cfcdd | 2019-05-31 14:11:37 -0700 | [diff] [blame] | 104 | <item name="android:textAllCaps">false</item> |
Santiago Etchebehere | b5fed02 | 2019-02-21 16:59:23 -0800 | [diff] [blame] | 105 | </style> |
Santiago Etchebehere | 7ff4c59 | 2019-05-10 10:21:09 -0700 | [diff] [blame] | 106 | |
| 107 | <style name="CustomThemeNameEditText" parent="@android:style/Widget.DeviceDefault.EditText"> |
| 108 | <item name="android:background">@drawable/edittext_background</item> |
| 109 | <item name="android:paddingTop">16dp</item> |
| 110 | <item name="android:paddingBottom">16dp</item> |
| 111 | <item name="android:paddingStart">12dp</item> |
| 112 | <item name="android:paddingEnd">12dp</item> |
| 113 | <item name="android:textColor">@color/edittext_text_color</item> |
| 114 | <item name="android:inputType">text</item> |
| 115 | <item name="android:maxLength">100</item> |
| 116 | </style> |
Santiago Etchebehere | 988f99d | 2018-12-20 17:13:12 -0800 | [diff] [blame] | 117 | </resources> |