roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2017 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <resources> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 18 | <style name="Theme.SettingsBase" parent="@android:style/Theme.Material.Settings" /> |
| 19 | |
roger xue | 24b5080 | 2017-04-04 11:59:04 -0700 | [diff] [blame] | 20 | <attr name="WifiSignalColor" format="reference" /> |
| 21 | |
Anthony Chen | bfa917d | 2018-02-15 16:12:10 -0800 | [diff] [blame] | 22 | <style name="CarSettingTheme" parent="Theme.Car.Light.NoActionBar"> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 23 | <item name="wifi_signal">@drawable/wifi_signal</item> |
roger xue | ddb7544 | 2017-03-29 09:27:04 -0700 | [diff] [blame] | 24 | <item name="WifiSignalColor">?android:attr/colorAccent</item> |
Roshan Agrawal | f2d834f | 2018-04-05 12:28:21 -0700 | [diff] [blame] | 25 | <item name="android:windowBackground">@color/car_card</item> |
Lujiang Xue | 0daa919 | 2017-12-06 11:48:39 -0800 | [diff] [blame] | 26 | <item name="android:windowAnimationStyle">@style/SettingAnimationStyle</item> |
| 27 | </style> |
| 28 | |
Anthony Chen | bfa917d | 2018-02-15 16:12:10 -0800 | [diff] [blame] | 29 | <style name="CarQuickSettingTheme" parent="Theme.Car.Light.NoActionBar"> |
Lujiang Xue | 73f4573 | 2018-04-05 09:42:19 -0700 | [diff] [blame] | 30 | <item name="android:background">@color/car_card</item> |
Lujiang Xue | 0daa919 | 2017-12-06 11:48:39 -0800 | [diff] [blame] | 31 | </style> |
| 32 | |
| 33 | <style name="SettingAnimationStyle"> |
| 34 | <item name="android:windowEnterAnimation">@anim/trans_fade_in</item> |
| 35 | <item name="android:windowExitAnimation">@anim/trans_fade_out</item> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 36 | </style> |
| 37 | |
Anthony Chen | bfa917d | 2018-02-15 16:12:10 -0800 | [diff] [blame] | 38 | <style name="ActionBarStyle.Car" parent="Widget.Car.Toolbar"> |
Anthony Chen | af07fdd | 2017-11-14 16:13:23 -0800 | [diff] [blame] | 39 | <item name="actionBarSize">@dimen/car_app_bar_height</item> |
roger xue | 24b5080 | 2017-04-04 11:59:04 -0700 | [diff] [blame] | 40 | </style> |
| 41 | |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 42 | <style name="TrimmedHorizontalProgressBar" parent="android:Widget.Material.ProgressBar.Horizontal"> |
| 43 | <item name="android:indeterminateDrawable">@drawable/progress_indeterminate_horizontal_material_trimmed</item> |
| 44 | <item name="android:minHeight">3dp</item> |
| 45 | <item name="android:maxHeight">3dp</item> |
| 46 | </style> |
roger xue | 5e02a7c | 2017-04-17 14:55:55 -0700 | [diff] [blame] | 47 | |
Lujiang Xue | b9f48bf | 2017-11-10 10:42:37 -0800 | [diff] [blame] | 48 | <style name="ListIcon.ActionBar" parent="ListIcon"> |
jovanak | 058a5e3 | 2018-01-30 13:28:17 -0800 | [diff] [blame] | 49 | <item name="android:tint">@color/car_accent</item> |
roger xue | 5e02a7c | 2017-04-17 14:55:55 -0700 | [diff] [blame] | 50 | <item name="android:layout_gravity">center</item> |
Lujiang Xue | eaff6c3 | 2018-04-10 08:20:29 -0700 | [diff] [blame^] | 51 | <item name="android:background">@drawable/button_ripple_bg</item> |
roger xue | 5e02a7c | 2017-04-17 14:55:55 -0700 | [diff] [blame] | 52 | <item name="android:src">@drawable/ic_arrow_back</item> |
| 53 | </style> |
Anthony Chen | bfa917d | 2018-02-15 16:12:10 -0800 | [diff] [blame] | 54 | |
| 55 | <style name="SettingsListHeader" parent="TextAppearance.Car.Body2"> |
jovanak | 058a5e3 | 2018-01-30 13:28:17 -0800 | [diff] [blame] | 56 | <item name="android:textColor">@color/car_accent</item> |
Jovana | 6547764 | 2017-12-27 11:29:40 -0800 | [diff] [blame] | 57 | </style> |
jovanak | ff86a4a | 2018-01-17 12:55:15 -0800 | [diff] [blame] | 58 | |
| 59 | <style name="Widget.Car.Settings.ActionBar.Button.Borderless.Colored" |
| 60 | parent="Widget.Car.Button.Borderless.Colored"> |
| 61 | <item name="android:minWidth">@dimen/car_button_min_width</item> |
| 62 | <item name="android:fontFamily">roboto-regular</item> |
Ying | 96da041 | 2018-02-07 12:09:10 -0800 | [diff] [blame] | 63 | <item name="android:textColor">@color/car_accent</item> |
| 64 | </style> |
| 65 | |
| 66 | <style name="SetupWizardButton.Negative" parent="@style/SuwGlifButton.Secondary"> |
| 67 | <!-- Negative margin to offset for padding of the button itself. We want the label to be |
| 68 | aligned with the text above it --> |
| 69 | <item name="android:layout_marginStart">-16dp</item> |
| 70 | </style> |
| 71 | |
| 72 | <style name="SetupWizardButton.Positive" parent="@style/SuwGlifButton.Primary" /> |
| 73 | |
| 74 | <!-- Style for security lock pattern. --> |
| 75 | <style name="LockPatternStyle"> |
| 76 | <item name="*android:regularColor">@color/lock_pattern_regular</item> |
| 77 | <item name="*android:successColor">@color/lock_pattern_success</item> |
| 78 | <item name="*android:errorColor">?android:attr/colorError</item> |
jovanak | ff86a4a | 2018-01-17 12:55:15 -0800 | [diff] [blame] | 79 | </style> |
Jian Jin | 6212e0f | 2018-03-19 16:22:46 -0700 | [diff] [blame] | 80 | |
| 81 | <style name="PinPadKey" parent="@style/TextAppearance.Car.Key2"> |
| 82 | <item name="android:layout_width">@dimen/pin_pad_key_width</item> |
| 83 | <item name="android:layout_height">@dimen/pin_pad_key_height</item> |
| 84 | <item name="android:layout_margin">@dimen/pin_pad_key_margin</item> |
| 85 | <item name="android:gravity">center</item> |
| 86 | <item name="android:textSize">@dimen/pin_pad_key_text_size</item> |
| 87 | <item name="android:textColor">@android:color/black</item> |
| 88 | <item name="android:clickable">true</item> |
| 89 | <item name="android:background">@drawable/button_ripple_bg</item> |
| 90 | </style> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 91 | </resources> |