Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (c) 2014, The Linux Foundation. All rights reserved. |
| 4 | |
| 5 | Redistribution and use in source and binary forms, with or without |
| 6 | modification, are permitted provided that the following conditions are |
| 7 | met: |
| 8 | * Redistributions of source code must retain the above copyright |
| 9 | notice, this list of conditions and the following disclaimer. |
| 10 | * Redistributions in binary form must reproduce the above |
| 11 | copyright notice, this list of conditions and the following |
| 12 | disclaimer in the documentation and/or other materials provided |
| 13 | with the distribution. |
| 14 | * Neither the name of The Linux Foundation nor the names of its |
| 15 | contributors may be used to endorse or promote products derived |
| 16 | from this software without specific prior written permission. |
| 17 | |
| 18 | THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED |
| 19 | WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 20 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT |
| 21 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
| 22 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 23 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 24 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| 25 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 26 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| 27 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| 28 | IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 | --> |
| 30 | <resources> |
| 31 | |
| 32 | <style name="BrowserBase" parent="@android:style/Theme.Material.Light"> |
| 33 | <item name="android:windowContentOverlay">@null</item> |
| 34 | <!-- these are defined just in Material attrs --> |
| 35 | <item name="android:colorPrimary">@color/primary</item> |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 36 | <item name="android:colorPrimaryDark">@color/primary_dark</item> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 37 | <item name="android:colorAccent">@color/accent</item> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 38 | <item name="android:colorEdgeEffect">@color/primary</item> |
| 39 | </style> |
| 40 | |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 41 | <style name="ActionBarStyle" parent="@android:style/ThemeOverlay.Material.Dark.ActionBar"> |
| 42 | <item name="android:displayOptions">none</item> |
| 43 | </style> |
| 44 | |
| 45 | <style name="OverflowButton" parent="@android:style/Widget.Material.ActionButton.Overflow"> |
| 46 | <item name="android:src">@drawable/ic_action_overflow</item> |
| 47 | <item name="android:layout_width">44dp</item> |
| 48 | <item name="android:layout_height">match_parent</item> |
| 49 | <item name="android:paddingStart">4dp</item> |
| 50 | <item name="android:gravity">center_vertical</item> |
| 51 | </style> |
| 52 | |
| 53 | <style name="OverflowButtonInverted" parent="@style/OverflowButton"> |
| 54 | <item name="android:src">@drawable/ic_action_overflow_white</item> |
| 55 | </style> |
| 56 | |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 57 | <style name="DialogWhenLarge" parent="@android:style/Theme.Material.Light.DialogWhenLarge" > |
| 58 | <item name="android:windowActionBar">false</item> |
jrizzoli | 700a867 | 2015-10-18 00:15:07 +0200 | [diff] [blame] | 59 | <item name="android:colorPrimary">@color/accent</item> |
| 60 | <item name="android:colorPrimaryDark">@color/accent_dark</item> |
| 61 | <item name="android:colorAccent">@color/icon_white</item> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 62 | </style> |
jrizzoli | 3f57be0 | 2016-01-24 21:06:30 +0100 | [diff] [blame] | 63 | |
jrizzoli | 38a81f6 | 2015-10-25 18:22:38 +0100 | [diff] [blame] | 64 | <style name="MyNavAddStyle" parent="@style/DialogWhenLarge"> |
| 65 | <item name="android:colorPrimary">@color/mynav_primary</item> |
| 66 | <item name="android:colorPrimaryDark">@color/mynav_primary_dark</item> |
| 67 | <item name="android:colorAccent">@color/mynav_accent</item> |
| 68 | </style> |
| 69 | |
jrizzoli | 3f57be0 | 2016-01-24 21:06:30 +0100 | [diff] [blame] | 70 | <style name="PopupMenuStyle" parent="@android:style/Widget.Material.Light.PopupMenu"/> |
| 71 | |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 72 | <style name="Suggestions" parent="@android:style/Widget.Material.AutoCompleteTextView"> |
| 73 | <item name="android:popupBackground">@color/white</item> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 74 | <item name="android:dropDownHorizontalOffset">0dip</item> |
| 75 | <item name="android:dropDownVerticalOffset">0dip</item> |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 76 | <item name="android:textColor">@color/icon_white</item> |
| 77 | <item name="android:textColorHint">@color/icon_black</item> |
jrizzoli | 3f57be0 | 2016-01-24 21:06:30 +0100 | [diff] [blame] | 78 | <item name="android:paddingStart">@dimen/suggestion_padding</item> |
| 79 | <item name="android:paddingEnd">@dimen/suggestion_padding</item> |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 80 | </style> |
jrizzoli | 3f57be0 | 2016-01-24 21:06:30 +0100 | [diff] [blame] | 81 | |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 82 | <style name="Widget.UrlInputView" parent="BrowserTheme"> |
jrizzoli | a62318b | 2015-09-08 21:44:50 +0200 | [diff] [blame] | 83 | <item name="android:textColor">@color/icon_white</item> |
| 84 | <item name="android:textColorHint">@color/icon_white</item> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 85 | </style> |
jrizzoli | 3f57be0 | 2016-01-24 21:06:30 +0100 | [diff] [blame] | 86 | |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 87 | <style name="TextAppearance.Medium" parent="@android:style/TextAppearance.Material.Medium" /> |
| 88 | <style name="TextAppearance.Small" parent="@android:style/TextAppearance.Material.Small" /> |
| 89 | |
jrizzoli | 700a867 | 2015-10-18 00:15:07 +0200 | [diff] [blame] | 90 | <style name="floating_action_button"> |
| 91 | <item name="android:layout_width">@dimen/fab_size</item> |
| 92 | <item name="android:layout_height">@dimen/fab_size</item> |
| 93 | <item name="android:layout_margin">@dimen/fab_margin</item> |
| 94 | <item name="android:background">@drawable/floating_action_button</item> |
| 95 | <item name="android:stateListAnimator">@anim/floating_action_button_elevation</item> |
| 96 | <item name="android:elevation">@dimen/fab_elevation_normal</item> |
| 97 | <item name="android:layout_alignParentBottom">true</item> |
| 98 | <item name="android:layout_alignParentRight">true</item> |
| 99 | <item name="android:layout_gravity">bottom|end</item> |
| 100 | </style> |
| 101 | |
| 102 | <style name="floating_action_button_image"> |
| 103 | <item name="android:layout_width">@dimen/fab_size</item> |
| 104 | <item name="android:layout_height">@dimen/fab_size</item> |
| 105 | <item name="android:layout_gravity">center</item> |
| 106 | </style> |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 107 | |
| 108 | <style name="SettingsTheme" parent="@android:style/Theme.Material.Light.DarkActionBar"> |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 109 | <item name="android:colorPrimary">@color/primary</item> |
| 110 | <item name="android:colorPrimaryDark">@color/primary_dark</item> |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 111 | <item name="android:colorAccent">@color/accent</item> |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 112 | </style> |
| 113 | |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 114 | </resources> |