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> |
| 29 | <style name="ActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar"> |
| 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 | |
| 69 | |
| 70 | <style name="NavButton"> |
| 71 | <item name="android:background">?android:attr/selectableItemBackground</item> |
| 72 | <item name="android:layout_height">match_parent</item> |
| 73 | <item name="android:paddingLeft">8dip</item> |
| 74 | <item name="android:paddingRight">8dip</item> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 75 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 76 | <style name="NavButtonWide" parent="@style/NavButton"> |
| 77 | <item name="android:layout_width">96dp</item> |
| 78 | </style> |
| 79 | |
| 80 | <style name="OverflowButton" parent="@android:style/Widget.Holo.Light.ActionButton.Overflow"> |
| 81 | <item name="android:src">@drawable/ic_action_overflow</item> |
| 82 | <item name="android:layout_width">48dp</item> |
| 83 | <item name="android:layout_height">match_parent</item> |
| 84 | <item name="android:gravity">center_vertical</item> |
| 85 | </style> |
| 86 | |
| 87 | <style name="SuggestionLineMedium" parent="@style/TextAppearance.Medium"> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 88 | <item name="android:textSize">16sp</item> |
| 89 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 90 | <style name="SuggestionLineSmall" parent="@style/TextAppearance.Small"> |
John Reck | 285ef04 | 2011-02-11 15:44:17 -0800 | [diff] [blame] | 91 | <item name="android:textSize">12sp</item> |
Michael Kolb | d3e4d4f | 2010-10-15 10:58:44 -0700 | [diff] [blame] | 92 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 93 | |
| 94 | <style name="HoloIcon"> |
| 95 | <item name="android:layout_marginLeft">16dip</item> |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 96 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 97 | |
Leon Scroggins | 83932c7 | 2009-09-30 11:55:54 -0400 | [diff] [blame] | 98 | <style name="TitleBar"> |
| 99 | <item name="android:windowEnterAnimation">@anim/title_bar_enter</item> |
| 100 | <item name="android:windowExitAnimation">@anim/title_bar_exit</item> |
| 101 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 102 | |
| 103 | <style name="TabTitleSelected" parent="@style/TextAppearance.Small"> |
Michael Kolb | d3e4d4f | 2010-10-15 10:58:44 -0700 | [diff] [blame] | 104 | <item name="android:textColor">?android:attr/textColorPrimary</item> |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 105 | <item name="android:textStyle">bold</item> |
| 106 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 107 | <style name="TabTitleUnselected" parent="@style/TextAppearance.Small"> |
Michael Kolb | d3e4d4f | 2010-10-15 10:58:44 -0700 | [diff] [blame] | 108 | <item name="android:textColor">?android:attr/textColorSecondary</item> |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 109 | <item name="android:textStyle">normal</item> |
| 110 | </style> |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame] | 111 | |
| 112 | <style name="AutofillProfileTextView"> |
| 113 | <item name="android:layout_width">wrap_content</item> |
| 114 | <item name="android:layout_height">wrap_content</item> |
| 115 | <item name="android:gravity">center_vertical</item> |
| 116 | <item name="android:layout_margin">2dip</item> |
| 117 | <item name="android:textAppearance">?android:attr/textAppearanceMedium</item> |
| 118 | </style> |
| 119 | <style name="AutofillProfileEditText" parent="@style/AutofillProfileTextView"> |
| 120 | <item name="android:layout_width">match_parent</item> |
Ben Murdoch | e2bffcf | 2011-12-06 16:40:26 +0000 | [diff] [blame] | 121 | <item name="android:imeOptions">flagNoExtractUi|actionNext</item> |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame] | 122 | <item name="android:singleLine">true</item> |
| 123 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 124 | |
| 125 | <style name="OverflowMenuThemeBase" parent="@style/BrowserTheme"> |
| 126 | <item name="android:background">@color/PopupBackground</item> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 127 | <item name="android:listDivider">@null</item> |
| 128 | <item name="android:listPreferredItemHeightSmall">48dp</item> |
| 129 | <item name="android:listPreferredItemPaddingStart">16dp</item> |
| 130 | <item name="android:listPreferredItemPaddingEnd">16dp</item> |
| 131 | <item name="android:textSize">16sp</item> |
| 132 | </style> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 133 | <style name="OverflowMenuTheme" parent="@style/OverflowMenuThemeBase" /> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 134 | <style name="OverflowMenuAnim"> |
| 135 | <item name="android:windowEnterAnimation">@anim/menu_enter</item> |
| 136 | <item name="android:windowExitAnimation">@anim/menu_exit</item> |
| 137 | </style> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 138 | </resources> |