blob: 6bef8d157ee434c61994611399aec65d5973aaac [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 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="FabStyle">
<item name="android:elevation">8dip</item>
</style>
<style name="SettingsTheme" parent="BaseActivityTheme">
<item name="android:alertDialogTheme">@style/SettingsAlertDialogTheme</item>
<item name="android:detailsElementBackground">@null</item>
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
<!-- Attributes from support.v7.appcompat -->
<item name="actionBarStyle">@style/SettingsActionBarStyle</item>
</style>
<!-- Theme that will be used by PreferenceFragment (i.e. *not* AppCompat). -->
<style name="SettingsAlertDialogTheme" parent="android:Theme.Material.Dialog.Alert">
<item name="android:colorAccent">?attr/colorAccent</item>
</style>
<!-- Custom notification content styles -->
<style name="TextAppearance.StatusBar.EventContent">
<item name="android:textSize">@dimen/notification_text_size</item>
<item name="android:textColor">@color/black_54p</item>
</style>
<style name="TextAppearance.StatusBar.EventContent.Title">
<item name="android:textSize">@dimen/notification_title_text_size</item>
<item name="android:textColor">@color/black_87p</item>
</style>
<style name="TimePickerTheme" parent="Theme.AppCompat.Dialog">
<item name="android:background">@color/time_picker_gray</item>
<item name="android:timePickerStyle">@style/TimePickerStyle</item>
<item name="android:textColorPrimaryInverse">?attr/colorAccent</item>
<!-- Attributes from support.v7.appcompat -->
<item name="colorAccent">@color/color_accent</item>
</style>
<style name="TimePickerStyle" parent="@android:style/Widget.Material.TimePicker" >
<item name="android:headerBackground">@color/time_picker_gray</item>
<item name="android:headerTimeTextAppearance">@style/TimeLabelTextAppearance</item>
<item name="android:headerAmPmTextAppearance">@style/AmPmTextAppearance</item>
<item name="android:numbersBackgroundColor">@color/time_picker_gray</item>
<item name="android:numbersTextColor">@color/white</item>
<item name="android:amPmTextColor">@color/white</item>
</style>
<style name="PrimaryLabelTextAppearance" parent="@style/PrimaryLabelTextParentAppearance">
<item name="android:fontFamily">sans-serif-medium</item>
</style>
<style name="SecondaryLabelTextAppearance" parent="@style/SecondaryLabelTextParentAppearance">
<item name="android:fontFamily">sans-serif-medium</item>
</style>
<style name="CitiesTheme" parent="BaseActivityTheme">
<item name="android:fastScrollPreviewBackgroundLeft">
@drawable/fastscroll_preview_left
</item>
<item name="android:fastScrollPreviewBackgroundRight">
@drawable/fastscroll_preview_right
</item>
<item name="android:fastScrollStyle">@style/FastScrollStyle</item>
<item name="android:fastScrollThumbDrawable">@drawable/fastscroll_thumb</item>
<item name="android:fastScrollTrackDrawable">@drawable/fastscroll_track</item>
<item name="actionBarStyle">@style/CitiesActionBarStyle</item>
</style>
<style name="FastScrollStyle" parent="android:Widget.Material.FastScroll">
<item name="android:minWidth">48dip</item>
<item name="android:minHeight">48dip</item>
<item name="android:padding">16dip</item>
<item name="android:textColor">@color/white</item>
<item name="android:textSize">32sp</item>
</style>
</resources>