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> |
Pankaj Garg | f3f1b01 | 2014-11-26 14:52:22 -0800 | [diff] [blame] | 29 | <style name="ActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse"> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 30 | <item name="android:displayOptions"></item> |
| 31 | </style> |
| 32 | <style name="PopupMenuStyle" parent="@android:style/Widget.Holo.Light.PopupMenu"> |
| 33 | </style> |
| 34 | <style name="Suggestions" parent="@android:style/Widget.Holo.Light.AutoCompleteTextView"> |
| 35 | <item name="android:popupBackground">@color/NavigationBarBackground</item> |
| 36 | <item name="android:dropDownHorizontalOffset">0dip</item> |
| 37 | <item name="android:dropDownVerticalOffset">0dip</item> |
| 38 | </style> |
| 39 | <style name="TextAppearance.Medium" parent="@android:style/TextAppearance.Holo.Medium" /> |
| 40 | <style name="TextAppearance.Small" parent="@android:style/TextAppearance.Holo.Small" /> |
| 41 | |
| 42 | |
| 43 | <!-- common theme elements --> |
| 44 | |
| 45 | <style name="BrowserTheme" parent="@style/BrowserBase"> |
| 46 | <item name="android:windowBackground">@color/browser_window_background</item> |
| 47 | |
John Reck | aae029c | 2011-09-16 14:36:39 -0700 | [diff] [blame] | 48 | <item name="android:windowActionBar">false</item> |
| 49 | <item name="android:windowNoTitle">true</item> |
| 50 | <item name="android:windowActionModeOverlay">true</item> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 51 | <item name="android:actionBarStyle">@style/ActionBarStyle</item> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 52 | <item name="android:actionBarSize">56dip</item> |
| 53 | <item name="android:popupMenuStyle">@style/PopupMenuStyle</item> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 54 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 55 | |
| 56 | <style name="BookmarkTheme" parent="@style/BrowserBase"> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 57 | <item name="android:windowActionBar">false</item> |
| 58 | <item name="android:windowNoTitle">true</item> |
| 59 | <item name="android:colorBackgroundCacheHint">@null</item> |
| 60 | <item name="android:windowFrame">@null</item> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 61 | <item name="android:windowIsFloating">true</item> |
| 62 | <item name="android:backgroundDimEnabled">false</item> |
| 63 | <item name="android:windowIsTranslucent">true</item> |
| 64 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 65 | |
| 66 | <style name="ShortcutTheme" parent="@style/BrowserBase"> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 67 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 68 | |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 69 | <style name="SettingsTheme" parent="@style/BrowserBase"> |
| 70 | </style> |
| 71 | |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame^] | 72 | <style name="ComboViewActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar"> |
| 73 | <item name="android:background">@color/comboViewActionBarColor</item> |
| 74 | </style> |
| 75 | <style name="ComboViewActionBarTabBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.TabBar"> |
| 76 | <item name="android:background">@color/comboViewActionBarColor</item> |
| 77 | </style> |
| 78 | <style name="ComboViewTheme" parent="@style/BrowserBase"> |
| 79 | <item name="android:actionBarStyle">@style/ComboViewActionBarStyle</item> |
| 80 | <item name="android:actionBarTabBarStyle">@style/ComboViewActionBarTabBarStyle</item> |
| 81 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 82 | |
| 83 | <style name="NavButton"> |
| 84 | <item name="android:background">?android:attr/selectableItemBackground</item> |
| 85 | <item name="android:layout_height">match_parent</item> |
| 86 | <item name="android:paddingLeft">8dip</item> |
| 87 | <item name="android:paddingRight">8dip</item> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 88 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 89 | <style name="NavButtonWide" parent="@style/NavButton"> |
| 90 | <item name="android:layout_width">96dp</item> |
| 91 | </style> |
| 92 | |
| 93 | <style name="OverflowButton" parent="@android:style/Widget.Holo.Light.ActionButton.Overflow"> |
| 94 | <item name="android:src">@drawable/ic_action_overflow</item> |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 95 | <item name="android:layout_width">44dp</item> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 96 | <item name="android:layout_height">match_parent</item> |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 97 | <item name="android:paddingLeft">4dp</item> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 98 | <item name="android:gravity">center_vertical</item> |
| 99 | </style> |
| 100 | |
| 101 | <style name="SuggestionLineMedium" parent="@style/TextAppearance.Medium"> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 102 | <item name="android:textSize">16sp</item> |
| 103 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 104 | <style name="SuggestionLineSmall" parent="@style/TextAppearance.Small"> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 105 | <item name="android:textSize">12sp</item> |
Michael Kolb | d3e4d4f | 2010-10-15 10:58:44 -0700 | [diff] [blame] | 106 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 107 | |
| 108 | <style name="HoloIcon"> |
| 109 | <item name="android:layout_marginLeft">16dip</item> |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 110 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 111 | |
Leon Scroggins | 83932c7 | 2009-09-30 11:55:54 -0400 | [diff] [blame] | 112 | <style name="TitleBar"> |
| 113 | <item name="android:windowEnterAnimation">@anim/title_bar_enter</item> |
| 114 | <item name="android:windowExitAnimation">@anim/title_bar_exit</item> |
| 115 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 116 | |
| 117 | <style name="TabTitleSelected" parent="@style/TextAppearance.Small"> |
Michael Kolb | d3e4d4f | 2010-10-15 10:58:44 -0700 | [diff] [blame] | 118 | <item name="android:textColor">?android:attr/textColorPrimary</item> |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 119 | <item name="android:textStyle">bold</item> |
| 120 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 121 | <style name="TabTitleUnselected" parent="@style/TextAppearance.Small"> |
Michael Kolb | d3e4d4f | 2010-10-15 10:58:44 -0700 | [diff] [blame] | 122 | <item name="android:textColor">?android:attr/textColorSecondary</item> |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 123 | <item name="android:textStyle">normal</item> |
| 124 | </style> |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame] | 125 | |
| 126 | <style name="AutofillProfileTextView"> |
| 127 | <item name="android:layout_width">wrap_content</item> |
| 128 | <item name="android:layout_height">wrap_content</item> |
| 129 | <item name="android:gravity">center_vertical</item> |
| 130 | <item name="android:layout_margin">2dip</item> |
| 131 | <item name="android:textAppearance">?android:attr/textAppearanceMedium</item> |
| 132 | </style> |
| 133 | <style name="AutofillProfileEditText" parent="@style/AutofillProfileTextView"> |
| 134 | <item name="android:layout_width">match_parent</item> |
Ben Murdoch | e2bffcf | 2011-12-06 16:40:26 +0000 | [diff] [blame] | 135 | <item name="android:imeOptions">flagNoExtractUi|actionNext</item> |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame] | 136 | <item name="android:singleLine">true</item> |
| 137 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 138 | |
| 139 | <style name="OverflowMenuThemeBase" parent="@style/BrowserTheme"> |
| 140 | <item name="android:background">@color/PopupBackground</item> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 141 | <item name="android:listDivider">@null</item> |
| 142 | <item name="android:listPreferredItemHeightSmall">48dp</item> |
| 143 | <item name="android:listPreferredItemPaddingStart">16dp</item> |
| 144 | <item name="android:listPreferredItemPaddingEnd">16dp</item> |
| 145 | <item name="android:textSize">16sp</item> |
| 146 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 147 | <style name="OverflowMenuTheme" parent="@style/OverflowMenuThemeBase" /> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 148 | <style name="OverflowMenuAnim"> |
| 149 | <item name="android:windowEnterAnimation">@anim/menu_enter</item> |
| 150 | <item name="android:windowExitAnimation">@anim/menu_exit</item> |
| 151 | </style> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 152 | </resources> |