The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
Michael Kolb | ed21774 | 2010-08-10 17:52:34 -0700 | [diff] [blame] | 3 | /* |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 4 | * |
| 5 | * Copyright 2006,2007,2008 The Android Open Source Project |
| 6 | * |
Michael Kolb | ed21774 | 2010-08-10 17:52:34 -0700 | [diff] [blame] | 7 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | * you may not use this file except in compliance with the License. |
| 9 | * You may obtain a copy of the License at |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 10 | * |
Michael Kolb | ed21774 | 2010-08-10 17:52:34 -0700 | [diff] [blame] | 11 | * http://www.apache.org/licenses/LICENSE-2.0 |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 12 | * |
Michael Kolb | ed21774 | 2010-08-10 17:52:34 -0700 | [diff] [blame] | 13 | * Unless required by applicable law or agreed to in writing, software |
| 14 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | * See the License for the specific language governing permissions and |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 17 | * limitations under the License. |
| 18 | */ |
| 19 | --> |
| 20 | <resources> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 21 | |
| 22 | <!-- parents that change depending on version --> |
| 23 | <style name="BrowserBase" parent="@android:style/Theme.Holo.Light"> |
| 24 | <item name="android:windowContentOverlay">@null</item> |
| 25 | </style> |
| 26 | <style name="DialogWhenLarge" parent="@android:style/Theme.Holo.Light.DialogWhenLarge" > |
| 27 | <item name="android:windowActionBar">false</item> |
| 28 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 29 | <style name="PopupMenuStyle" parent="@android:style/Widget.Holo.Light.PopupMenu"> |
| 30 | </style> |
| 31 | <style name="Suggestions" parent="@android:style/Widget.Holo.Light.AutoCompleteTextView"> |
| 32 | <item name="android:popupBackground">@color/NavigationBarBackground</item> |
| 33 | <item name="android:dropDownHorizontalOffset">0dip</item> |
| 34 | <item name="android:dropDownVerticalOffset">0dip</item> |
| 35 | </style> |
| 36 | <style name="TextAppearance.Medium" parent="@android:style/TextAppearance.Holo.Medium" /> |
| 37 | <style name="TextAppearance.Small" parent="@android:style/TextAppearance.Holo.Small" /> |
| 38 | |
| 39 | |
| 40 | <!-- common theme elements --> |
| 41 | |
| 42 | <style name="BrowserTheme" parent="@style/BrowserBase"> |
| 43 | <item name="android:windowBackground">@color/browser_window_background</item> |
Tarun Nainani | 87a8668 | 2015-02-05 11:47:35 -0800 | [diff] [blame] | 44 | <item name="android:windowActionBar">true</item> |
| 45 | <item name="android:windowActionBarOverlay">true</item> |
| 46 | <item name="android:windowNoTitle">false</item> |
| 47 | <item name="android:actionBarStyle">@style/LightActionBarStyle</item> |
| 48 | <item name="android:actionBarTabBarStyle">@style/LightActionBarTabBarStyle</item> |
John Reck | aae029c | 2011-09-16 14:36:39 -0700 | [diff] [blame] | 49 | <item name="android:windowActionModeOverlay">true</item> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 50 | <item name="android:actionBarSize">56dip</item> |
| 51 | <item name="android:popupMenuStyle">@style/PopupMenuStyle</item> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 52 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 53 | |
| 54 | <style name="BookmarkTheme" parent="@style/BrowserBase"> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 55 | <item name="android:windowActionBar">false</item> |
| 56 | <item name="android:windowNoTitle">true</item> |
| 57 | <item name="android:colorBackgroundCacheHint">@null</item> |
| 58 | <item name="android:windowFrame">@null</item> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 59 | <item name="android:windowIsFloating">true</item> |
| 60 | <item name="android:backgroundDimEnabled">false</item> |
| 61 | <item name="android:windowIsTranslucent">true</item> |
| 62 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 63 | |
Kulanthaivel Palanichamy | 9e4211c | 2015-02-09 11:27:14 -0800 | [diff] [blame] | 64 | <style name="BookmarkText"> |
Pankaj Garg | 21dad56 | 2015-07-02 17:17:24 -0700 | [diff] [blame] | 65 | <item name="android:textSize">12sp</item> |
| 66 | <item name="android:textColor">@color/black</item> |
| 67 | <item name="android:textStyle">normal</item> |
| 68 | <item name="android:textAlignment">center</item> |
| 69 | <item name="android:fontFamily">roboto</item> |
Kulanthaivel Palanichamy | 9e4211c | 2015-02-09 11:27:14 -0800 | [diff] [blame] | 70 | </style> |
| 71 | |
Pankaj Garg | 634bf43 | 2015-07-13 09:54:21 -0700 | [diff] [blame] | 72 | <style name="BookmarkPathText"> |
| 73 | <item name="android:textSize">18sp</item> |
Pankaj Garg | 07b2fd9 | 2015-07-15 12:07:37 -0700 | [diff] [blame] | 74 | <item name="android:textColor">@color/clickable_color</item> |
| 75 | <item name="android:background">?android:attr/selectableItemBackgroundBorderless</item> |
Pankaj Garg | 634bf43 | 2015-07-13 09:54:21 -0700 | [diff] [blame] | 76 | <item name="android:textStyle">normal</item> |
| 77 | <item name="android:textAlignment">center</item> |
| 78 | <item name="android:fontFamily">roboto</item> |
| 79 | </style> |
| 80 | |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 81 | <style name="ShortcutTheme" parent="@style/BrowserBase"> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 82 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 83 | |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 84 | <style name="SettingsTheme" parent="@style/BrowserBase"> |
Pankaj Garg | 68faf1c | 2015-06-26 17:07:37 -0700 | [diff] [blame] | 85 | <item name="android:actionBarStyle" |
| 86 | >@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse</item> |
| 87 | </style> |
| 88 | |
| 89 | <style name="LightActionBarSolidStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid"> |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 90 | </style> |
| 91 | |
Tarun Nainani | 87a8668 | 2015-02-05 11:47:35 -0800 | [diff] [blame] | 92 | <style name="LightActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar"> |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 93 | <item name="android:background">@color/comboViewActionBarColor</item> |
| 94 | </style> |
Tarun Nainani | 87a8668 | 2015-02-05 11:47:35 -0800 | [diff] [blame] | 95 | <style name="LightActionBarTabBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.TabBar"> |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 96 | <item name="android:background">@color/comboViewActionBarColor</item> |
| 97 | </style> |
| 98 | <style name="ComboViewTheme" parent="@style/BrowserBase"> |
Tarun Nainani | 87a8668 | 2015-02-05 11:47:35 -0800 | [diff] [blame] | 99 | <item name="android:actionBarStyle">@style/LightActionBarStyle</item> |
| 100 | <item name="android:actionBarTabBarStyle">@style/LightActionBarTabBarStyle</item> |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 101 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 102 | |
| 103 | <style name="NavButton"> |
| 104 | <item name="android:background">?android:attr/selectableItemBackground</item> |
| 105 | <item name="android:layout_height">match_parent</item> |
Tarun Nainani | 10f9753 | 2015-04-24 11:37:16 -0700 | [diff] [blame] | 106 | <item name="android:paddingStart">8dip</item> |
| 107 | <item name="android:paddingEnd">8dip</item> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 108 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 109 | <style name="NavButtonWide" parent="@style/NavButton"> |
| 110 | <item name="android:layout_width">96dp</item> |
| 111 | </style> |
| 112 | |
| 113 | <style name="OverflowButton" parent="@android:style/Widget.Holo.Light.ActionButton.Overflow"> |
| 114 | <item name="android:src">@drawable/ic_action_overflow</item> |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 115 | <item name="android:layout_width">44dp</item> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 116 | <item name="android:layout_height">match_parent</item> |
Tarun Nainani | 10f9753 | 2015-04-24 11:37:16 -0700 | [diff] [blame] | 117 | <item name="android:paddingStart">4dp</item> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 118 | <item name="android:gravity">center_vertical</item> |
| 119 | </style> |
| 120 | |
| 121 | <style name="SuggestionLineMedium" parent="@style/TextAppearance.Medium"> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 122 | <item name="android:textSize">16sp</item> |
| 123 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 124 | <style name="SuggestionLineSmall" parent="@style/TextAppearance.Small"> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 125 | <item name="android:textSize">12sp</item> |
Michael Kolb | d3e4d4f | 2010-10-15 10:58:44 -0700 | [diff] [blame] | 126 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 127 | |
| 128 | <style name="HoloIcon"> |
Tarun Nainani | 10f9753 | 2015-04-24 11:37:16 -0700 | [diff] [blame] | 129 | <item name="android:layout_marginStart">16dip</item> |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 130 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 131 | |
Leon Scroggins | 83932c7 | 2009-09-30 11:55:54 -0400 | [diff] [blame] | 132 | <style name="TitleBar"> |
| 133 | <item name="android:windowEnterAnimation">@anim/title_bar_enter</item> |
| 134 | <item name="android:windowExitAnimation">@anim/title_bar_exit</item> |
| 135 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 136 | |
| 137 | <style name="TabTitleSelected" parent="@style/TextAppearance.Small"> |
Michael Kolb | d3e4d4f | 2010-10-15 10:58:44 -0700 | [diff] [blame] | 138 | <item name="android:textColor">?android:attr/textColorPrimary</item> |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 139 | <item name="android:textStyle">bold</item> |
| 140 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 141 | <style name="TabTitleUnselected" parent="@style/TextAppearance.Small"> |
Michael Kolb | d3e4d4f | 2010-10-15 10:58:44 -0700 | [diff] [blame] | 142 | <item name="android:textColor">?android:attr/textColorSecondary</item> |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 143 | <item name="android:textStyle">normal</item> |
| 144 | </style> |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame] | 145 | |
| 146 | <style name="AutofillProfileTextView"> |
| 147 | <item name="android:layout_width">wrap_content</item> |
| 148 | <item name="android:layout_height">wrap_content</item> |
| 149 | <item name="android:gravity">center_vertical</item> |
| 150 | <item name="android:layout_margin">2dip</item> |
| 151 | <item name="android:textAppearance">?android:attr/textAppearanceMedium</item> |
| 152 | </style> |
| 153 | <style name="AutofillProfileEditText" parent="@style/AutofillProfileTextView"> |
| 154 | <item name="android:layout_width">match_parent</item> |
Ben Murdoch | e2bffcf | 2011-12-06 16:40:26 +0000 | [diff] [blame] | 155 | <item name="android:imeOptions">flagNoExtractUi|actionNext</item> |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame] | 156 | <item name="android:singleLine">true</item> |
| 157 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 158 | |
| 159 | <style name="OverflowMenuThemeBase" parent="@style/BrowserTheme"> |
| 160 | <item name="android:background">@color/PopupBackground</item> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 161 | <item name="android:listDivider">@null</item> |
| 162 | <item name="android:listPreferredItemHeightSmall">48dp</item> |
| 163 | <item name="android:listPreferredItemPaddingStart">16dp</item> |
| 164 | <item name="android:listPreferredItemPaddingEnd">16dp</item> |
| 165 | <item name="android:textSize">16sp</item> |
| 166 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 167 | <style name="OverflowMenuTheme" parent="@style/OverflowMenuThemeBase" /> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 168 | <style name="OverflowMenuAnim"> |
| 169 | <item name="android:windowEnterAnimation">@anim/menu_enter</item> |
| 170 | <item name="android:windowExitAnimation">@anim/menu_exit</item> |
| 171 | </style> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 172 | </resources> |