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 | 631bfe3 | 2019-02-06 18:12:01 -0800 | [diff] [blame] | 23 | <item name="android:navigationBarColor">?android:colorPrimaryDark</item> |
Santiago Etchebehere | f0e2dad | 2019-05-03 18:29:59 -0700 | [diff] [blame] | 24 | <item name="android:navigationBarDividerColor">@android:color/transparent</item> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 25 | |
| 26 | <item name="selectableItemBackground">?android:attr/selectableItemBackground</item> |
Santiago Etchebehere | 418a40e | 2019-03-25 14:28:37 -0700 | [diff] [blame] | 27 | <item name="dialogPreferredPadding">24dp</item> |
| 28 | <item name="colorControlHighlight">@color/ripple_material_dark</item> |
Santiago Etchebehere | 9474b9c | 2019-04-17 17:54:11 -0300 | [diff] [blame] | 29 | |
| 30 | <item name="actionButtonStyle">?android:actionButtonStyle</item> |
| 31 | <item name="actionMenuTextColor">?android:actionMenuTextColor</item> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 32 | </style> |
Santiago Etchebehere | 3e09611 | 2019-05-28 14:38:21 -0700 | [diff] [blame] | 33 | |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 34 | <style name="CustomizationTheme.NoActionBar"> |
Kunhung Li | 202f407 | 2021-04-26 20:07:03 +0800 | [diff] [blame] | 35 | <item name="android:statusBarColor">@android:color/transparent</item> |
Chihhang Chuang | fb54684 | 2021-04-15 09:42:00 +0800 | [diff] [blame] | 36 | <item name="android:navigationBarColor">@android:color/transparent</item> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 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 | |
Santiago Etchebehere | 8e8b474 | 2020-03-11 19:51:52 -0700 | [diff] [blame] | 42 | <item name="android:windowContentOverlay">@null</item> |
| 43 | <item name="android:windowDisablePreview">true</item> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 44 | </style> |
Santiago Etchebehere | 10e79f1 | 2018-12-19 15:53:42 -0800 | [diff] [blame] | 45 | |
Santiago Etchebehere | 3e09611 | 2019-05-28 14:38:21 -0700 | [diff] [blame] | 46 | <!-- Bottom nav --> |
Santiago Etchebehere | f18580d | 2019-01-10 10:24:42 -0800 | [diff] [blame] | 47 | <style name="BottomNavStyle"> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 48 | <item name="itemIconTint">@color/bottom_nav_item_color</item> |
| 49 | <item name="itemTextColor">@color/bottom_nav_item_color</item> |
Santiago Etchebehere | 6507b7a | 2019-06-24 15:05:32 -0700 | [diff] [blame] | 50 | <item name="itemTextAppearanceActive">@style/BottomNavTextAppearanceActive</item> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 51 | <item name="itemTextAppearanceInactive">@style/BottomNavTextAppearance</item> |
Amin Shaikh | 89eef63 | 2019-04-19 17:32:43 -0400 | [diff] [blame] | 52 | <item name="itemBackground">?android:attr/selectableItemBackgroundBorderless</item> |
Pierre-Louis | c2d2f2a | 2021-04-09 22:33:17 +0200 | [diff] [blame] | 53 | <item name="android:background">?android:colorBackground</item> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 54 | </style> |
| 55 | |
Santiago Etchebehere | 58e1b52 | 2019-12-05 10:25:13 -0800 | [diff] [blame] | 56 | <style name="BottomNavTextAppearance" parent="TitleTextAppearance"> |
Beth Thibodeau | 3e000c4 | 2019-03-11 11:37:41 -0400 | [diff] [blame] | 57 | <item name="android:textSize">@dimen/bottom_navbar_font_text_size</item> |
Santiago Etchebehere | f23466e | 2018-12-10 14:56:55 -0800 | [diff] [blame] | 58 | </style> |
Santiago Etchebehere | 10e79f1 | 2018-12-19 15:53:42 -0800 | [diff] [blame] | 59 | |
Santiago Etchebehere | 6507b7a | 2019-06-24 15:05:32 -0700 | [diff] [blame] | 60 | <style name="BottomNavTextAppearanceActive" parent="BottomNavTextAppearance"> |
| 61 | <item name="android:textStyle">bold</item> |
| 62 | </style> |
| 63 | |
Santiago Etchebehere | 3e09611 | 2019-05-28 14:38:21 -0700 | [diff] [blame] | 64 | <!-- Common components and widgets --> |
Santiago Etchebehere | 58e1b52 | 2019-12-05 10:25:13 -0800 | [diff] [blame] | 65 | <style name="TitleTextAppearance" parent="@android:style/TextAppearance.DeviceDefault.Widget.ActionBar.Title"/> |
Santiago Etchebehere | 10e79f1 | 2018-12-19 15:53:42 -0800 | [diff] [blame] | 66 | |
| 67 | <style name="ActionPrimaryButton" parent="android:Widget.DeviceDefault.Button.Colored"/> |
Santiago Etchebehere | 273f655 | 2019-01-04 17:33:45 -0800 | [diff] [blame] | 68 | |
Amin Shaikh | 535db3e | 2019-04-19 09:51:41 -0400 | [diff] [blame] | 69 | <style name="ActionSecondaryButton" parent="android:Widget.DeviceDefault.Button.Borderless.Colored"/> |
| 70 | |
Santiago Etchebehere | 58e1b52 | 2019-12-05 10:25:13 -0800 | [diff] [blame] | 71 | <style name="CardTitleTextAppearance" parent="TitleTextAppearance"> |
Santiago Etchebehere | 988f99d | 2018-12-20 17:13:12 -0800 | [diff] [blame] | 72 | <item name="android:textStyle">bold</item> |
| 73 | <item name="android:textSize">@dimen/card_title_text_size</item> |
| 74 | </style> |
| 75 | |
Santiago Etchebehere | 58e1b52 | 2019-12-05 10:25:13 -0800 | [diff] [blame] | 76 | <style name="FontCardTitleStyle" parent="TitleTextAppearance"> |
Santiago Etchebehere | 988f99d | 2018-12-20 17:13:12 -0800 | [diff] [blame] | 77 | <item name="android:textAlignment">center</item> |
Wesley.CW Wang | 8038c10 | 2020-07-23 18:14:37 +0800 | [diff] [blame] | 78 | <item name="android:textSize">28dp</item> |
Santiago Etchebehere | 988f99d | 2018-12-20 17:13:12 -0800 | [diff] [blame] | 79 | </style> |
| 80 | |
| 81 | <style name="FontCardBodyTextStyle"> |
Santiago Etchebehere | 0831fa8 | 2019-04-26 15:53:52 -0700 | [diff] [blame] | 82 | <item name="android:layout_width">wrap_content</item> |
| 83 | <item name="android:maxWidth">@dimen/font_preview_body_width</item> |
Santiago Etchebehere | 988f99d | 2018-12-20 17:13:12 -0800 | [diff] [blame] | 84 | <item name="android:textAlignment">center</item> |
Wesley.CW Wang | 8038c10 | 2020-07-23 18:14:37 +0800 | [diff] [blame] | 85 | <item name="android:textSize">20dp</item> |
Santiago Etchebehere | 988f99d | 2018-12-20 17:13:12 -0800 | [diff] [blame] | 86 | <item name="android:textAppearance">@android:style/TextAppearance.DeviceDefault</item> |
| 87 | </style> |
| 88 | |
Santiago Etchebehere | 3e09611 | 2019-05-28 14:38:21 -0700 | [diff] [blame] | 89 | <!-- Custom theme editor --> |
Santiago Etchebehere | 7ff4c59 | 2019-05-10 10:21:09 -0700 | [diff] [blame] | 90 | |
| 91 | <style name="CustomThemeNameEditText" parent="@android:style/Widget.DeviceDefault.EditText"> |
| 92 | <item name="android:background">@drawable/edittext_background</item> |
| 93 | <item name="android:paddingTop">16dp</item> |
| 94 | <item name="android:paddingBottom">16dp</item> |
| 95 | <item name="android:paddingStart">12dp</item> |
| 96 | <item name="android:paddingEnd">12dp</item> |
Chuck Liao | 031d8dd | 2020-07-07 21:11:34 +0800 | [diff] [blame] | 97 | <item name="android:textAlignment">viewStart</item> |
Santiago Etchebehere | 7ff4c59 | 2019-05-10 10:21:09 -0700 | [diff] [blame] | 98 | <item name="android:textColor">@color/edittext_text_color</item> |
| 99 | <item name="android:inputType">text</item> |
| 100 | <item name="android:maxLength">100</item> |
| 101 | </style> |
Chihhang Chuang | b7dc51d | 2021-05-25 20:57:43 +0800 | [diff] [blame] | 102 | |
Chihhang Chuang | 91a8fe9 | 2021-05-29 16:49:54 +0800 | [diff] [blame^] | 103 | <style name="SectionTitleTextStyle"> |
| 104 | <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
Chihhang Chuang | b7dc51d | 2021-05-25 20:57:43 +0800 | [diff] [blame] | 105 | <item name="android:textColor">?android:textColorPrimary</item> |
| 106 | <item name="android:textDirection">locale</item> |
| 107 | <item name="android:textSize">20sp</item> |
| 108 | <item name="android:lineHeight">24dp</item> |
| 109 | </style> |
| 110 | |
| 111 | <style name="SectionSubtitleTextStyle" parent="SectionTitleTextStyle"> |
Chihhang Chuang | 91a8fe9 | 2021-05-29 16:49:54 +0800 | [diff] [blame^] | 112 | <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> |
Chihhang Chuang | b7dc51d | 2021-05-25 20:57:43 +0800 | [diff] [blame] | 113 | <item name="android:textColor">?android:textColorSecondary</item> |
| 114 | <item name="android:textSize">14sp</item> |
| 115 | <item name="android:lineHeight">20dp</item> |
| 116 | </style> |
| 117 | |
Santiago Etchebehere | 988f99d | 2018-12-20 17:13:12 -0800 | [diff] [blame] | 118 | </resources> |