| <?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> |
| <style name="ListItem"> |
| <item name="android:layout_width">match_parent</item> |
| <item name="android:layout_height">@dimen/car_double_line_list_item_height</item> |
| <item name="android:foreground">@drawable/car_list_item_background</item> |
| </style> |
| |
| <style name="ListItem.SingleLine" parent="ListItem"> |
| <item name="android:layout_height">@dimen/car_single_line_list_item_height</item> |
| </style> |
| |
| <style name="TextAppearance.Car.Body1.SingleLine" parent="TextAppearance.Car.Body1"> |
| <item name="android:maxLines">1</item> |
| <item name="android:ellipsize">marquee</item> |
| </style> |
| |
| <style name="TextAppearance.Car.Body2.SingleLine" parent="TextAppearance.Car.Body2"> |
| <item name="android:maxLines">1</item> |
| <item name="android:ellipsize">end</item> |
| </style> |
| |
| <style name="Theme.SettingsBase" parent="@android:style/Theme.Material.Settings" /> |
| |
| <attr name="WifiSignalColor" format="reference" /> |
| |
| <style name="CarSettingTheme" parent="Theme.Car.Light.NoActionBar"> |
| <item name="preferenceTheme">@style/PreferenceThemeOverlayCar</item> |
| <item name="wifi_signal">@drawable/wifi_signal</item> |
| <item name="WifiSignalColor">?android:attr/colorAccent</item> |
| <item name="android:windowBackground">@color/car_card</item> |
| <item name="android:windowAnimationStyle">@style/SettingAnimationStyle</item> |
| <item name="android:borderlessButtonStyle">@style/Widget.Car.Button.Borderless.Colored</item> |
| </style> |
| |
| <style name="FallbackHome" parent="@android:style/Theme.DeviceDefault.NoActionBar"> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:colorBackgroundCacheHint">@null</item> |
| <item name="android:windowShowWallpaper">true</item> |
| <item name="android:windowNoTitle">true</item> |
| <item name="android:windowTranslucentStatus">false</item> |
| <item name="android:windowTranslucentNavigation">false</item> |
| <item name="android:windowDrawsSystemBarBackgrounds">true</item> |
| <item name="android:statusBarColor">#00000000</item> |
| <item name="android:navigationBarColor">#00000000</item> |
| </style> |
| |
| <style name="FallbackHome.SetupWizard" parent="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen"> |
| <item name="android:windowBackground">@android:color/black</item> |
| <item name="android:colorBackgroundCacheHint">@null</item> |
| <item name="android:windowNoTitle">true</item> |
| <item name="android:windowDrawsSystemBarBackgrounds">true</item> |
| <item name="android:statusBarColor">#00000000</item> |
| <item name="android:navigationBarColor">#00000000</item> |
| </style> |
| |
| <style name="SettingAnimationStyle"> |
| <item name="android:windowEnterAnimation">@anim/trans_fade_in</item> |
| <item name="android:windowExitAnimation">@anim/trans_fade_out</item> |
| </style> |
| |
| <style name="TrimmedHorizontalProgressBar" parent="android:Widget.Material.ProgressBar.Horizontal"> |
| <item name="android:indeterminateDrawable">@drawable/progress_indeterminate_horizontal_material_trimmed</item> |
| <item name="android:minHeight">3dp</item> |
| <item name="android:maxHeight">3dp</item> |
| </style> |
| |
| <style name="ListIcon"> |
| <item name="android:layout_width">@dimen/car_primary_icon_size</item> |
| <item name="android:layout_height">@dimen/car_primary_icon_size</item> |
| <item name="android:layout_centerVertical">true</item> |
| <item name="android:gravity">center_vertical</item> |
| <item name="android:scaleType">fitCenter</item> |
| <item name="android:tint">@color/car_tint</item> |
| </style> |
| |
| <style name="ListIcon.ActionBar" parent="ListIcon"> |
| <item name="android:layout_gravity">center</item> |
| <item name="android:src">@drawable/ic_arrow_back</item> |
| </style> |
| |
| <style name="ListIcon.ActionBar.SetupWizard" parent="ListIcon.ActionBar"> |
| <item name="android:tint">@color/car_tint_light</item> |
| </style> |
| |
| <style name="SettingsListHeader" parent="TextAppearance.Car.Body2"> |
| <item name="android:textColor">@color/car_accent</item> |
| </style> |
| |
| <style name="SetupWizardButton.Negative" parent="@style/SuwGlifButton.Secondary"> |
| <!-- Negative margin to offset for padding of the button itself. We want the label to be |
| aligned with the text above it --> |
| <item name="android:layout_marginStart">-16dp</item> |
| </style> |
| |
| <style name="SetupWizardButton.Positive" parent="@style/SuwGlifButton.Primary" /> |
| |
| <!-- Style for security lock pattern. --> |
| <style name="LockPattern"> |
| <item name="*android:regularColor">@color/lock_pattern_regular</item> |
| <item name="*android:successColor">@color/lock_pattern_success</item> |
| <item name="*android:errorColor">?android:attr/colorError</item> |
| </style> |
| |
| <style name="LockPattern.SetupWizard"> |
| <item name="*android:regularColor">@color/lock_pattern_regular_light</item> |
| <item name="*android:successColor">@color/lock_pattern_success_light</item> |
| <item name="*android:errorColor">?android:attr/colorError</item> |
| </style> |
| |
| <style name="PinPadKey"> |
| <item name="android:layout_width">@dimen/pin_pad_key_width</item> |
| <item name="android:layout_height">@dimen/pin_pad_key_height</item> |
| <item name="android:layout_margin">@dimen/pin_pad_key_margin</item> |
| <item name="android:gravity">center</item> |
| <item name="android:textStyle">normal</item> |
| <item name="android:textSize">@dimen/car_body1_size</item> |
| <item name="android:textColor">@color/car_body3</item> |
| <item name="android:clickable">true</item> |
| <item name="android:background">@drawable/car_button_ripple_background</item> |
| </style> |
| |
| <style name="ListSwitch"> |
| <item name="android:layout_width">@dimen/car_primary_icon_size</item> |
| <item name="android:layout_height">@dimen/car_primary_icon_size</item> |
| <item name="android:scaleX">1.5</item> |
| <item name="android:scaleY">1.5</item> |
| <item name="android:thumbTint">@color/car_accent</item> |
| <item name="android:trackTint">@color/car_accent</item> |
| </style> |
| |
| <style name="SettingList"> |
| <item name="gutter">both</item> |
| </style> |
| </resources> |