cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2013 The CyanogenMod 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> |
| 18 | <style name="Theme.Setup" parent="@android:style/Theme.Material.Light"> |
| 19 | <item name="android:windowActionBar">false</item> |
| 20 | <item name="android:windowNoTitle">true</item> |
cretin45 | 0d31b31 | 2015-03-09 14:49:31 -0700 | [diff] [blame^] | 21 | <item name="android:windowIsTranslucent">true</item> |
| 22 | <item name="android:windowBackground">@android:color/transparent</item> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 23 | <item name="android:colorPrimary">@color/primary</item> |
cretin45 | 8913799 | 2015-01-22 14:17:05 -0800 | [diff] [blame] | 24 | <item name="android:colorPrimaryDark">@color/primary</item> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 25 | <item name="android:colorAccent">@color/accent</item> |
cretin45 | d28a24d | 2015-01-27 14:35:06 -0800 | [diff] [blame] | 26 | <item name="android:textColorLink">@color/accent</item> |
cretin45 | 9d72db9 | 2015-02-16 11:46:30 -0800 | [diff] [blame] | 27 | <item name="android:statusBarColor">@android:color/transparent</item> |
cretin45 | 0d31b31 | 2015-03-09 14:49:31 -0700 | [diff] [blame^] | 28 | <item name="android:windowAnimationStyle">@style/ActivityAnimations</item> |
| 29 | </style> |
| 30 | |
| 31 | <style name="ActivityAnimations" parent="@android:style/Animation.Activity"> |
| 32 | <item name="android:activityOpenEnterAnimation">@anim/translucent_enter</item> |
| 33 | <item name="android:activityOpenExitAnimation">@anim/translucent_exit</item> |
| 34 | <item name="android:activityCloseEnterAnimation">@anim/translucent_enter</item> |
| 35 | <item name="android:activityCloseExitAnimation">@anim/translucent_exit</item> |
| 36 | <item name="android:taskToFrontEnterAnimation">@anim/translucent_enter</item> |
| 37 | <item name="android:taskToFrontExitAnimation">@anim/translucent_exit</item> |
| 38 | <item name="android:taskToBackEnterAnimation">@anim/translucent_enter</item> |
| 39 | <item name="android:taskToBackExitAnimation">@anim/translucent_exit</item> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 40 | </style> |
| 41 | |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 42 | <style name="Header"> |
| 43 | <item name="android:elevation">4dp</item> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 44 | </style> |
| 45 | |
| 46 | <style name="PageContainer"> |
| 47 | <item name="android:textColor">@color/primary_text</item> |
cretin45 | 0d31b31 | 2015-03-09 14:49:31 -0700 | [diff] [blame^] | 48 | <item name="android:background">@color/page_background</item> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 49 | </style> |
| 50 | |
| 51 | <style name="PageContent"> |
cretin45 | 716ffa8 | 2015-01-21 15:55:03 -0800 | [diff] [blame] | 52 | <item name="android:background">@color/page_background</item> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 53 | <item name="android:paddingTop">@dimen/content_margin_top</item> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 54 | </style> |
| 55 | |
| 56 | <style name="PageTitle"> |
| 57 | <item name="android:id">@android:id/title</item> |
cretin45 | fa88fba | 2015-01-30 14:20:10 -0800 | [diff] [blame] | 58 | <item name="android:textSize">22sp</item> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 59 | <item name="android:textColor">@color/white</item> |
| 60 | <item name="android:background">@color/primary_dark</item> |
| 61 | <item name="android:layout_alignParentBottom">true</item> |
| 62 | <item name="android:gravity">left|center_vertical</item> |
| 63 | <item name="android:paddingLeft">@dimen/header_title_margin_left</item> |
| 64 | </style> |
| 65 | |
| 66 | <style name="PageSummaryText"> |
| 67 | <item name="android:id">@android:id/summary</item> |
cretin45 | 716ffa8 | 2015-01-21 15:55:03 -0800 | [diff] [blame] | 68 | <item name="android:lineSpacingExtra">@dimen/setup_line_spacing</item> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 69 | </style> |
| 70 | |
| 71 | <style name="SpinnerItem"> |
| 72 | <item name="android:textSize">15sp</item> |
cretin45 | f7807e0 | 2015-01-29 17:34:53 -0800 | [diff] [blame] | 73 | <item name="android:paddingLeft">@dimen/content_margin_left</item> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 74 | </style> |
| 75 | |
| 76 | <style name="ButtonBar" parent="@android:style/Widget.Material.ActionButton"> |
cretin45 | fa88fba | 2015-01-30 14:20:10 -0800 | [diff] [blame] | 77 | <item name="android:layout_height">56dp</item> |
| 78 | <item name="android:textSize">16sp</item> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 79 | <item name="android:textAllCaps">true</item> |
| 80 | <item name="android:maxLines">1</item> |
| 81 | <item name="android:minWidth">15dp</item> |
| 82 | <item name="android:minHeight">15dp</item> |
cretin45 | 4e192fd | 2015-03-03 12:07:31 -0800 | [diff] [blame] | 83 | <item name="android:textColor">@color/button_bar_text</item> |
cretin45 | fa88fba | 2015-01-30 14:20:10 -0800 | [diff] [blame] | 84 | <item name="android:fontFamily">sans-serif</item> |
| 85 | <item name="android:drawablePadding">6dp</item> |
cretin45 | c4584a7 | 2015-02-23 13:46:35 -0800 | [diff] [blame] | 86 | <item name="android:ellipsize">end</item> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 87 | </style> |
| 88 | |
| 89 | <style name="ButtonBar.Left"> |
cretin45 | fa88fba | 2015-01-30 14:20:10 -0800 | [diff] [blame] | 90 | <item name="android:paddingStart">34dp</item> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 91 | <item name="android:gravity">center_vertical|start</item> |
| 92 | <item name="android:drawableLeft">@drawable/ic_chevron_left_dark</item> |
| 93 | </style> |
| 94 | |
| 95 | <style name="ButtonBar.Right"> |
cretin45 | fa88fba | 2015-01-30 14:20:10 -0800 | [diff] [blame] | 96 | <item name="android:paddingEnd">34dp</item> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 97 | <item name="android:gravity">center_vertical|end</item> |
| 98 | <item name="android:drawableRight">@drawable/ic_chevron_right_dark</item> |
| 99 | </style> |
| 100 | </resources> |