| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2018 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <resources> |
| |
| <!-- Main themes --> |
| <style name="CustomizationTheme" parent="@android:style/Theme.DeviceDefault.Settings"> |
| <item name="colorPrimary">?android:colorPrimary</item> |
| |
| <item name="android:statusBarColor">?android:colorPrimary</item> |
| |
| <item name="android:navigationBarColor">?android:colorPrimaryDark</item> |
| <item name="android:navigationBarDividerColor">@android:color/transparent</item> |
| |
| <item name="selectableItemBackground">?android:attr/selectableItemBackground</item> |
| <item name="dialogPreferredPadding">24dp</item> |
| <item name="colorControlHighlight">@color/ripple_material_dark</item> |
| |
| <item name="actionButtonStyle">?android:actionButtonStyle</item> |
| <item name="actionMenuTextColor">?android:actionMenuTextColor</item> |
| </style> |
| |
| <style name="CustomizationTheme.NoActionBar"> |
| <item name="android:windowActionBar">false</item> |
| <item name="android:windowNoTitle">true</item> |
| <item name="android:fitsSystemWindows">false</item> |
| <item name="android:windowDrawsSystemBarBackgrounds">true</item> |
| |
| <item name="android:windowContentOverlay">@null</item> |
| <item name="android:windowDisablePreview">true</item> |
| </style> |
| |
| <!-- Bottom nav --> |
| <style name="BottomNavStyle"> |
| <item name="itemIconTint">@color/bottom_nav_item_color</item> |
| <item name="itemTextColor">@color/bottom_nav_item_color</item> |
| <item name="itemTextAppearanceActive">@style/BottomNavTextAppearanceActive</item> |
| <item name="itemTextAppearanceInactive">@style/BottomNavTextAppearance</item> |
| <item name="itemBackground">?android:attr/selectableItemBackgroundBorderless</item> |
| <item name="android:background">?android:colorBackground</item> |
| </style> |
| |
| <style name="BottomNavTextAppearance" parent="TitleTextAppearance"> |
| <item name="android:textSize">@dimen/bottom_navbar_font_text_size</item> |
| </style> |
| |
| <style name="BottomNavTextAppearanceActive" parent="BottomNavTextAppearance"> |
| <item name="android:textStyle">bold</item> |
| </style> |
| |
| <!-- Common components and widgets --> |
| <style name="TitleTextAppearance" parent="@android:style/TextAppearance.DeviceDefault.Widget.ActionBar.Title"/> |
| |
| <style name="ActionPrimaryButton" parent="android:Widget.DeviceDefault.Button.Colored"/> |
| |
| <style name="ActionSecondaryButton" parent="android:Widget.DeviceDefault.Button.Borderless.Colored"/> |
| |
| <style name="CardTitleTextAppearance" parent="TitleTextAppearance"> |
| <item name="android:textStyle">bold</item> |
| <item name="android:textSize">@dimen/card_title_text_size</item> |
| </style> |
| |
| <style name="CoverTitleTextAppearance" parent="CardTitleTextAppearance"> |
| <item name="android:textSize">@dimen/card_cover_title_text_size</item> |
| <item name="android:textColor">@color/cover_title_color</item> |
| </style> |
| |
| <style name="FontCardTitleStyle" parent="TitleTextAppearance"> |
| <item name="android:textAlignment">center</item> |
| <item name="android:textSize">28dp</item> |
| </style> |
| |
| <style name="FontCardBodyTextStyle"> |
| <item name="android:layout_width">wrap_content</item> |
| <item name="android:maxWidth">@dimen/font_preview_body_width</item> |
| <item name="android:textAlignment">center</item> |
| <item name="android:textSize">20dp</item> |
| <item name="android:textAppearance">@android:style/TextAppearance.DeviceDefault</item> |
| </style> |
| |
| <!-- Custom theme editor --> |
| <style name="EditLabelStyle"> |
| <item name="android:textAppearance">@android:style/TextAppearance.DeviceDefault.Widget.Button</item> |
| <item name="android:textColor">@color/material_white_100</item> |
| <item name="android:textAllCaps">false</item> |
| </style> |
| |
| <style name="CustomThemeNameEditText" parent="@android:style/Widget.DeviceDefault.EditText"> |
| <item name="android:background">@drawable/edittext_background</item> |
| <item name="android:paddingTop">16dp</item> |
| <item name="android:paddingBottom">16dp</item> |
| <item name="android:paddingStart">12dp</item> |
| <item name="android:paddingEnd">12dp</item> |
| <item name="android:textAlignment">viewStart</item> |
| <item name="android:textColor">@color/edittext_text_color</item> |
| <item name="android:inputType">text</item> |
| <item name="android:maxLength">100</item> |
| </style> |
| </resources> |