1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* 4 * Copyright (C) 2008 The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 --> 19 20 <resources> 21 <!-- Clings --> 22 <style name="ClingButton"> 23 <item name="android:layout_width">wrap_content</item> 24 <item name="android:layout_height">wrap_content</item> 25 <item name="android:paddingTop">10dp</item> 26 <item name="android:paddingBottom">15dp</item> 27 <item name="android:paddingStart">35dp</item> 28 <item name="android:paddingEnd">35dp</item> 29 <item name="android:text">@string/cling_dismiss</item> 30 <item name="android:textSize">20sp</item> 31 <item name="android:textStyle">bold</item> 32 <item name="android:background">@drawable/cling_button_bg</item> 33 </style> 34 <style name="ClingTitleText"> 35 <item name="android:layout_width">wrap_content</item> 36 <item name="android:layout_height">wrap_content</item> 37 <item name="android:layout_marginBottom">5dp</item> 38 <item name="android:textSize">32sp</item> 39 <item name="android:textColor">#49C0EC</item> 40 <item name="android:shadowColor">#000000</item> 41 <item name="android:shadowDy">2</item> 42 <item name="android:shadowRadius">2.0</item> 43 </style> 44 <style name="ClingText"> 45 <item name="android:textSize">22sp</item> 46 <item name="android:textColor">#FFFFFF</item> 47 <item name="android:shadowColor">#000000</item> 48 <item name="android:shadowDy">2</item> 49 <item name="android:shadowRadius">2.0</item> 50 <item name="android:lineSpacingMultiplier">1.1</item> 51 </style> 52 53 <!-- Workspace --> 54 <style name="WorkspaceIcon.Portrait"> 55 <item name="android:drawablePadding">0dp</item> 56 <item name="android:paddingStart">4dp</item> 57 <item name="android:paddingEnd">4dp</item> 58 <item name="android:paddingTop">@dimen/app_icon_padding_top</item> 59 <item name="android:paddingBottom">4dp</item> 60 <item name="android:textSize">13sp</item> 61 </style> 62 <style name="WorkspaceIcon.Portrait.Folder"> 63 <item name="android:shadowRadius">0.0</item> <!-- Don't use text shadow --> 64 <item name="android:drawablePadding">0dp</item> 65 <item name="android:paddingStart">4dp</item> 66 <item name="android:paddingEnd">4dp</item> 67 <item name="android:paddingTop">0dp</item> 68 <item name="android:paddingBottom">0dp</item> 69 <item name="android:textSize">13sp</item> 70 <item name="android:layout_marginTop">-2dp</item> 71 </style> 72 <style name="WorkspaceIcon.Landscape"> 73 <item name="android:drawablePadding">0dp</item> 74 <item name="android:paddingStart">4dp</item> 75 <item name="android:paddingEnd">4dp</item> 76 <item name="android:paddingTop">@dimen/app_icon_padding_top</item> 77 <item name="android:paddingBottom">4dp</item> 78 <item name="android:textSize">13sp</item> 79 </style> 80 <style name="WorkspaceIcon.Landscape.Folder"> 81 <item name="android:shadowRadius">0.0</item> <!-- Don't use text shadow --> 82 <item name="android:drawablePadding">0dp</item> 83 <item name="android:paddingStart">4dp</item> 84 <item name="android:paddingEnd">4dp</item> 85 <item name="android:paddingTop">0dp</item> 86 <item name="android:paddingBottom">0dp</item> 87 <item name="android:textSize">13sp</item> 88 <item name="android:layout_marginTop">-2dp</item> 89 </style> 90 91 <style name="Theme" parent="android:Theme.Holo.Wallpaper.NoTitleBar"> 92 <item name="android:windowActionModeOverlay">true</item> 93 </style> 94 95 <style name="Theme.WallpaperPicker"> 96 <item name="android:screenOrientation">unspecified</item> 97 </style> 98 99 <style name="WorkspaceIcon.Portrait.AppsCustomize"> 100 <item name="android:shadowRadius">0.0</item> <!-- Don't use text shadow --> 101 <item name="android:background">@null</item> 102 <item name="android:paddingTop">0dp</item> 103 <item name="android:paddingBottom">0dp</item> 104 <item name="android:paddingStart">0dp</item> 105 <item name="android:paddingEnd">0dp</item> 106 <item name="android:drawablePadding">4dp</item> 107 <item name="android:textSize">13sp</item> 108 </style> 109 <style name="WorkspaceIcon.Landscape.AppsCustomize"> 110 <item name="android:shadowRadius">0.0</item> <!-- Don't use text shadow --> 111 <item name="android:background">@null</item> 112 <item name="android:paddingTop">0dp</item> 113 <item name="android:paddingBottom">0dp</item> 114 <item name="android:drawablePadding">4dp</item> 115 <item name="android:textSize">13sp</item> 116 </style> 117 <style name="TabIndicator.AppsCustomize"> 118 <item name="android:paddingStart">32dp</item> 119 <item name="android:paddingEnd">32dp</item> 120 <item name="android:textSize">14sp</item> 121 <item name="android:maxWidth">240dp</item> 122 </style> 123 124 <!-- QSB Search / Drop Target bar --> 125 <style name="QSBBar"> 126 <item name="android:orientation">horizontal</item> 127 <item name="android:layout_width">match_parent</item> 128 <item name="android:layout_height">@dimen/qsb_bar_height</item> 129 <item name="android:layout_gravity">top|center_horizontal</item> 130 <item name="android:paddingStart">@dimen/qsb_padding_left</item> 131 <item name="android:paddingEnd">@dimen/qsb_padding_right</item> 132 </style> 133 <style name="SearchDropTargetBar"> 134 <item name="android:orientation">horizontal</item> 135 <item name="android:layout_width">match_parent</item> 136 <item name="android:layout_height">match_parent</item> 137 <item name="android:layout_gravity">bottom|center_horizontal</item> 138 </style> 139 <style name="SearchButton"> 140 <item name="android:layout_gravity">center_vertical</item> 141 <item name="android:paddingTop">@dimen/toolbar_button_vertical_padding</item> 142 <item name="android:paddingBottom">@dimen/toolbar_button_vertical_padding</item> 143 </style> 144 <style name="DropTargetButtonContainer"> 145 <item name="android:layout_width">0dp</item> 146 <item name="android:layout_height">match_parent</item> 147 </style> 148 <style name="DropTargetButton"> 149 <item name="android:layout_width">wrap_content</item> 150 <item name="android:layout_height">match_parent</item> 151 <item name="android:layout_gravity">center</item> 152 <item name="android:gravity">center_vertical</item> 153 <item name="android:drawablePadding">7.5dp</item> 154 <item name="android:paddingStart">60dp</item> 155 <item name="android:paddingEnd">60dp</item> 156 <item name="android:textColor">#FFFFFFFF</item> 157 <item name="android:textSize">16sp</item> 158 <item name="android:shadowColor">#393939</item> 159 <item name="android:shadowDx">0.0</item> 160 <item name="android:shadowDy">0.0</item> 161 <item name="android:shadowRadius">2.0</item> 162 </style> 163 </resources> 164