Jeff Sharkey | 5e1884d | 2013-09-10 17:56:39 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2013 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 | |
Jeff Sharkey | 7d58fc6 | 2013-09-12 16:25:02 -0700 | [diff] [blame] | 17 | <resources xmlns:android="http://schemas.android.com/apk/res/android"> |
Jeff Sharkey | e6fcceb | 2014-07-28 16:38:52 -0700 | [diff] [blame] | 18 | |
Ben Kwa | 3512cb2 | 2015-08-24 10:15:56 -0700 | [diff] [blame] | 19 | <style name="DocumentsBaseTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar" /> |
Ben Kwa | 2c15ce6 | 2015-09-04 10:44:50 -0700 | [diff] [blame] | 20 | <style name="ActionBarTheme" parent="@*android:style/ThemeOverlay.Material.Dark.ActionBar" /> |
| 21 | <style name="ActionBarPopupTheme" parent="@*android:style/ThemeOverlay.Material.Light" /> |
Jeff Sharkey | 67bf49d | 2014-08-05 10:14:45 -0700 | [diff] [blame] | 22 | |
Ben Kwa | 3512cb2 | 2015-08-24 10:15:56 -0700 | [diff] [blame] | 23 | <style name="DocumentsTheme" parent="@style/DocumentsBaseTheme"> |
| 24 | <item name="actionBarWidgetTheme">@null</item> |
Ben Kwa | 2c15ce6 | 2015-09-04 10:44:50 -0700 | [diff] [blame] | 25 | <item name="actionBarTheme">@style/ActionBarTheme</item> |
| 26 | <item name="actionBarPopupTheme">@style/ActionBarPopupTheme</item> |
Jeff Sharkey | e6fcceb | 2014-07-28 16:38:52 -0700 | [diff] [blame] | 27 | |
Ben Kwa | 2c15ce6 | 2015-09-04 10:44:50 -0700 | [diff] [blame] | 28 | <item name="android:colorPrimaryDark">@color/primary_dark</item> |
| 29 | <item name="android:colorPrimary">@color/primary</item> |
| 30 | <item name="android:colorAccent">@color/accent</item> |
Ben Kwa | fe18c1b | 2015-09-11 15:40:18 -0700 | [diff] [blame] | 31 | <item name="colorActionMode">@color/material_grey_800</item> |
Jeff Sharkey | e6fcceb | 2014-07-28 16:38:52 -0700 | [diff] [blame] | 32 | |
Jeff Sharkey | 9dd80ae | 2014-09-16 11:40:03 -0700 | [diff] [blame] | 33 | <item name="android:listDivider">@*android:drawable/list_divider_material</item> |
| 34 | |
Jeff Sharkey | e6fcceb | 2014-07-28 16:38:52 -0700 | [diff] [blame] | 35 | <item name="android:windowActionBar">false</item> |
Jeff Sharkey | 7e54461 | 2014-08-29 15:38:27 -0700 | [diff] [blame] | 36 | <item name="android:windowActionModeOverlay">true</item> |
Jeff Sharkey | e6fcceb | 2014-07-28 16:38:52 -0700 | [diff] [blame] | 37 | <item name="android:windowNoTitle">true</item> |
| 38 | |
Jeff Sharkey | e6fcceb | 2014-07-28 16:38:52 -0700 | [diff] [blame] | 39 | <item name="android:windowSoftInputMode">stateUnspecified|adjustUnspecified</item> |
Tomasz Mikolajewski | 137437e | 2015-08-03 19:32:34 +0900 | [diff] [blame] | 40 | <item name="android:alertDialogTheme">@android:style/Theme.Material.Light.Dialog.Alert</item> |
Jeff Sharkey | e6fcceb | 2014-07-28 16:38:52 -0700 | [diff] [blame] | 41 | </style> |
| 42 | |
Ben Kwa | 3512cb2 | 2015-08-24 10:15:56 -0700 | [diff] [blame] | 43 | <style name="DocumentsBaseTheme.FullScreen" parent="@style/Theme.AppCompat.Light.DarkActionBar"> |
| 44 | <item name="actionBarWidgetTheme">@null</item> |
Ben Kwa | 2c15ce6 | 2015-09-04 10:44:50 -0700 | [diff] [blame] | 45 | <item name="actionBarTheme">@style/ActionBarTheme</item> |
| 46 | <item name="actionBarPopupTheme">@style/ActionBarPopupTheme</item> |
Ben Kwa | fe18c1b | 2015-09-11 15:40:18 -0700 | [diff] [blame] | 47 | <item name="colorActionMode">@color/material_grey_800</item> |
Oren Blasberg | b243af7 | 2015-06-25 19:00:43 -0700 | [diff] [blame] | 48 | |
| 49 | <item name="android:listDivider">@*android:drawable/list_divider_material</item> |
| 50 | |
| 51 | <item name="android:windowActionBar">false</item> |
| 52 | <item name="android:windowActionModeOverlay">true</item> |
| 53 | <item name="android:windowNoTitle">true</item> |
| 54 | |
| 55 | <item name="android:windowSoftInputMode">stateUnspecified|adjustUnspecified</item> |
| 56 | </style> |
| 57 | |
Ben Kwa | 3512cb2 | 2015-08-24 10:15:56 -0700 | [diff] [blame] | 58 | <style name="DocumentsNonDialogTheme" parent="@style/DocumentsBaseTheme.FullScreen"> |
Ben Kwa | 2c15ce6 | 2015-09-04 10:44:50 -0700 | [diff] [blame] | 59 | <item name="android:colorPrimaryDark">@color/primary_dark</item> |
| 60 | <item name="android:colorPrimary">@color/primary</item> |
| 61 | <item name="android:colorAccent">@color/accent</item> |
Ben Kwa | 0574b18 | 2015-09-08 07:31:19 -0700 | [diff] [blame] | 62 | |
| 63 | <item name="android:actionModeStyle">@style/ActionModeStyle</item> |
| 64 | |
| 65 | <item name="android:alertDialogTheme">@style/AlertDialogTheme</item> |
Ben Kwa | 3512cb2 | 2015-08-24 10:15:56 -0700 | [diff] [blame] | 66 | </style> |
| 67 | |
Tomasz Mikolajewski | 2b6b066 | 2015-07-28 14:59:00 +0900 | [diff] [blame] | 68 | <style name="ActionModeStyle" parent="@android:style/Widget.Material.Light.ActionMode"> |
| 69 | <item name="android:background">@color/material_grey_600</item> |
| 70 | </style> |
| 71 | |
Tomasz Mikolajewski | 137437e | 2015-08-03 19:32:34 +0900 | [diff] [blame] | 72 | <style name="AlertDialogTheme" parent="@android:style/Theme.Material.Light.Dialog.Alert"> |
Ben Kwa | fe18c1b | 2015-09-11 15:40:18 -0700 | [diff] [blame] | 73 | <item name="android:colorAccent">@color/platform_blue_700</item> |
Tomasz Mikolajewski | 137437e | 2015-08-03 19:32:34 +0900 | [diff] [blame] | 74 | </style> |
| 75 | |
Ben Kwa | 3512cb2 | 2015-08-24 10:15:56 -0700 | [diff] [blame] | 76 | <style name="FilesTheme" parent="@style/DocumentsBaseTheme.FullScreen"> |
Ben Kwa | fe18c1b | 2015-09-11 15:40:18 -0700 | [diff] [blame] | 77 | <item name="android:colorPrimaryDark">@color/platform_blue_700</item> |
| 78 | <item name="android:colorPrimary">@color/platform_blue_500</item> |
| 79 | <item name="android:colorAccent">@color/platform_blue_700</item> |
Ben Kwa | 379e176 | 2015-09-21 10:49:52 -0700 | [diff] [blame] | 80 | <item name="colorControlActivated">@color/platform_blue_a100</item> |
Ben Kwa | fe18c1b | 2015-09-11 15:40:18 -0700 | [diff] [blame] | 81 | <item name="android:actionModeStyle">@style/FilesActionModeStyle</item> |
| 82 | <item name="colorActionMode">@color/platform_blue_700</item> |
Tomasz Mikolajewski | 137437e | 2015-08-03 19:32:34 +0900 | [diff] [blame] | 83 | <item name="android:alertDialogTheme">@style/AlertDialogTheme</item> |
Steve McKay | d0a2a2c | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 84 | </style> |
| 85 | |
Ben Kwa | fe18c1b | 2015-09-11 15:40:18 -0700 | [diff] [blame] | 86 | <style name="FilesActionModeStyle" parent="@android:style/Widget.Material.Light.ActionMode"> |
| 87 | <item name="android:background">@color/platform_blue_100</item> |
| 88 | </style> |
Ben Kwa | 379e176 | 2015-09-21 10:49:52 -0700 | [diff] [blame] | 89 | |
| 90 | <style name="TrimmedHorizontalProgressBar" parent="android:Widget.Material.ProgressBar.Horizontal"> |
| 91 | <item name="android:indeterminateDrawable">@drawable/progress_indeterminate_horizontal_material_trimmed</item> |
| 92 | <item name="android:minHeight">3dp</item> |
| 93 | <item name="android:maxHeight">3dp</item> |
| 94 | </style> |
| 95 | |
Jeff Sharkey | 5e1884d | 2013-09-10 17:56:39 -0700 | [diff] [blame] | 96 | </resources> |