The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 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> |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 21 | <!-- Launcher theme --> |
| 22 | <style name="BaseLauncherTheme" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar"> |
| 23 | <item name="android:windowBackground">@android:color/transparent</item> |
| 24 | <item name="android:colorBackgroundCacheHint">@null</item> |
| 25 | <item name="android:windowShowWallpaper">true</item> |
| 26 | <item name="android:windowNoTitle">true</item> |
| 27 | </style> |
| 28 | |
| 29 | <style name="LauncherTheme" parent="@style/BaseLauncherTheme"></style> |
| 30 | |
Sunny Goyal | f1468af | 2016-02-17 11:36:26 -0800 | [diff] [blame] | 31 | <style name="Theme" parent="@style/LauncherTheme"></style> |
| 32 | |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame^] | 33 | <style name="FastScrollerPopup" > |
| 34 | <item name="android:background">@drawable/container_fastscroll_popup_bg</item> |
| 35 | <item name="android:layout_width">wrap_content</item> |
| 36 | <item name="android:minWidth">@dimen/container_fastscroll_popup_size</item> |
| 37 | <item name="android:layout_height">@dimen/container_fastscroll_popup_size</item> |
| 38 | <item name="android:textSize">@dimen/container_fastscroll_popup_text_size</item> |
| 39 | <item name="android:gravity">center</item> |
| 40 | <item name="android:alpha">0</item> |
| 41 | <item name="android:elevation">3dp</item> |
| 42 | <item name="android:saveEnabled">false</item> |
| 43 | <item name="android:textColor">@android:color/white</item> |
| 44 | <item name="android:includeFontPadding">false</item> |
| 45 | </style> |
| 46 | |
Andrew Sapperstein | 5f7750d | 2016-06-20 12:48:22 -0700 | [diff] [blame] | 47 | <!-- Theme for the widget container. Overridden on API 25. --> |
| 48 | <style name="WidgetContainerTheme" parent="@android:style/Theme.DeviceDefault.Settings"> |
| 49 | <item name="colorSecondary">@color/fallback_secondary_color</item> |
| 50 | </style> |
| 51 | |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 52 | <!-- Overscroll effect --> |
Andrew Sapperstein | 5f7750d | 2016-06-20 12:48:22 -0700 | [diff] [blame] | 53 | <style name="CustomOverscroll" /> |
| 54 | |
Andrew Sapperstein | abef55a | 2016-06-19 12:49:00 -0700 | [diff] [blame] | 55 | <style name="CustomOverscroll.Light" parent="@android:style/Theme.DeviceDefault.Light"> |
Winson Chung | 243fdd7 | 2015-06-22 19:48:07 -0700 | [diff] [blame] | 56 | <item name="android:colorEdgeEffect">@color/folder_edge_effect_color</item> |
| 57 | </style> |
| 58 | |
Andrew Sapperstein | 5f7750d | 2016-06-20 12:48:22 -0700 | [diff] [blame] | 59 | <style name="CustomOverscroll.Dark"> |
Winson Chung | 243fdd7 | 2015-06-22 19:48:07 -0700 | [diff] [blame] | 60 | <item name="android:colorEdgeEffect">@color/workspace_edge_effect_color</item> |
| 61 | </style> |
Winson Chung | 82f5553 | 2011-08-09 14:14:23 -0700 | [diff] [blame] | 62 | |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 63 | <!-- Different icons --> |
Winson Chung | 208ed75 | 2015-05-12 19:05:30 -0700 | [diff] [blame] | 64 | <style name="Icon"> |
Romain Guy | 8f19cdd | 2010-01-08 15:07:00 -0800 | [diff] [blame] | 65 | <item name="android:layout_width">match_parent</item> |
| 66 | <item name="android:layout_height">match_parent</item> |
Winson Chung | 4b825dcd | 2011-06-19 12:41:22 -0700 | [diff] [blame] | 67 | <item name="android:layout_gravity">center</item> |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 68 | <item name="android:gravity">center_horizontal</item> |
| 69 | <item name="android:singleLine">true</item> |
| 70 | <item name="android:ellipsize">marquee</item> |
Andrew Flynn | 0dca1ec | 2012-02-29 13:33:22 -0800 | [diff] [blame] | 71 | <item name="android:textColor">@color/workspace_icon_text_color</item> |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 72 | <item name="android:shadowRadius">2.0</item> |
| 73 | <item name="android:shadowColor">#B0000000</item> |
Adam Cohen | 22cf526 | 2013-09-18 15:14:17 -0700 | [diff] [blame] | 74 | <item name="android:fontFamily">sans-serif-condensed</item> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 75 | </style> |
| 76 | |
Winson Chung | 208ed75 | 2015-05-12 19:05:30 -0700 | [diff] [blame] | 77 | <style name="Icon.AllApps"> |
Winson Chung | 557d6ed | 2011-07-08 15:34:52 -0700 | [diff] [blame] | 78 | <item name="android:background">@null</item> |
Adam Cohen | 96bb798 | 2014-07-07 11:58:56 -0700 | [diff] [blame] | 79 | <item name="android:textColor">@color/quantum_panel_text_color</item> |
Winson Chung | 6e1c0d3 | 2013-10-25 15:24:24 -0700 | [diff] [blame] | 80 | <item name="android:drawablePadding">@dimen/dynamic_grid_icon_drawable_padding</item> |
Adam Cohen | a38dc90 | 2014-09-07 17:48:55 +0200 | [diff] [blame] | 81 | <item name="android:shadowRadius">0</item> |
Winson | 122a753 | 2015-09-23 16:11:35 -0700 | [diff] [blame] | 82 | <item name="android:paddingLeft">4dp</item> |
| 83 | <item name="android:paddingRight">4dp</item> |
Sunny Goyal | 508da15 | 2014-08-14 10:53:27 -0700 | [diff] [blame] | 84 | <item name="customShadows">false</item> |
Winson Chung | 557d6ed | 2011-07-08 15:34:52 -0700 | [diff] [blame] | 85 | </style> |
Adam Cohen | 96bb798 | 2014-07-07 11:58:56 -0700 | [diff] [blame] | 86 | |
Winson Chung | 208ed75 | 2015-05-12 19:05:30 -0700 | [diff] [blame] | 87 | <style name="Icon.Folder"> |
Adam Cohen | 96bb798 | 2014-07-07 11:58:56 -0700 | [diff] [blame] | 88 | <item name="android:background">@null</item> |
| 89 | <item name="android:textColor">@color/quantum_panel_text_color</item> |
Adam Cohen | a38dc90 | 2014-09-07 17:48:55 +0200 | [diff] [blame] | 90 | <item name="android:shadowRadius">0</item> |
Sunny Goyal | baec6ff | 2016-09-14 11:26:21 -0700 | [diff] [blame] | 91 | <item name="android:textSize">@dimen/folder_child_text_size</item> |
Sunny Goyal | 0034190 | 2016-09-23 10:19:39 -0700 | [diff] [blame] | 92 | <item name="android:gravity">center_horizontal</item> |
Sunny Goyal | baec6ff | 2016-09-14 11:26:21 -0700 | [diff] [blame] | 93 | <item name="android:includeFontPadding">false</item> |
Adam Cohen | 96bb798 | 2014-07-07 11:58:56 -0700 | [diff] [blame] | 94 | <item name="customShadows">false</item> |
Sunny Goyal | baec6ff | 2016-09-14 11:26:21 -0700 | [diff] [blame] | 95 | <item name="iconDisplay">folder</item> |
Adam Cohen | 96bb798 | 2014-07-07 11:58:56 -0700 | [diff] [blame] | 96 | </style> |
| 97 | |
Tony Wickham | 1bce7fd | 2016-04-28 17:39:03 -0700 | [diff] [blame] | 98 | <style name="Icon.DeepShortcut"> |
Tony Wickham | 1bce7fd | 2016-04-28 17:39:03 -0700 | [diff] [blame] | 99 | <item name="android:gravity">start|center_vertical</item> |
Tony Wickham | 1f01b01 | 2016-08-03 10:43:50 -0700 | [diff] [blame] | 100 | <item name="android:textAlignment">viewStart</item> |
Tony Wickham | 1bce7fd | 2016-04-28 17:39:03 -0700 | [diff] [blame] | 101 | <item name="android:elevation">@dimen/deep_shortcuts_elevation</item> |
Sunny Goyal | a2454ad | 2016-07-22 10:50:11 -0700 | [diff] [blame] | 102 | <item name="android:paddingStart">@dimen/bg_pill_height</item> |
Tony | 780c926 | 2016-07-25 17:17:11 -0700 | [diff] [blame] | 103 | <item name="android:paddingEnd">@dimen/deep_shortcut_padding_end</item> |
Sunny Goyal | a2454ad | 2016-07-22 10:50:11 -0700 | [diff] [blame] | 104 | <item name="android:drawableEnd">@drawable/deep_shortcuts_drag_handle</item> |
Tony | 780c926 | 2016-07-25 17:17:11 -0700 | [diff] [blame] | 105 | <item name="android:drawablePadding">@dimen/deep_shortcut_drawable_padding</item> |
Tony Wickham | d92e36e | 2016-08-02 11:53:07 -0700 | [diff] [blame] | 106 | <item name="android:textColor">#FF212121</item> |
| 107 | <item name="android:textSize">14sp</item> |
| 108 | <item name="android:fontFamily">sans-serif</item> |
Tony Wickham | 1bce7fd | 2016-04-28 17:39:03 -0700 | [diff] [blame] | 109 | <item name="android:shadowRadius">0</item> |
| 110 | <item name="customShadows">false</item> |
| 111 | <item name="layoutHorizontal">true</item> |
| 112 | <item name="iconSizeOverride">@dimen/deep_shortcut_icon_size</item> |
| 113 | </style> |
| 114 | |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 115 | <!-- Drop targets --> |
Sunny Goyal | 7066003 | 2015-05-14 00:07:08 -0700 | [diff] [blame] | 116 | <style name="DropTargetButtonBase"> |
Winson Chung | 4c98d92 | 2011-05-31 16:50:48 -0700 | [diff] [blame] | 117 | <item name="android:drawablePadding">7.5dp</item> |
Tony Wickham | e0dab19 | 2016-09-28 16:22:36 -0700 | [diff] [blame] | 118 | <item name="android:paddingLeft">16dp</item> |
| 119 | <item name="android:paddingRight">16dp</item> |
Winson Chung | 61fa419 | 2011-06-12 15:15:29 -0700 | [diff] [blame] | 120 | <item name="android:textColor">#FFFFFFFF</item> |
Sunny Goyal | 0e375f9 | 2014-10-23 11:38:15 -0700 | [diff] [blame] | 121 | <item name="android:textSize">@dimen/drop_target_text_size</item> |
Winson Chung | 90576b5 | 2011-09-27 17:45:27 -0700 | [diff] [blame] | 122 | <item name="android:singleLine">true</item> |
| 123 | <item name="android:ellipsize">end</item> |
Winson Chung | 7d7541e | 2011-09-16 20:14:36 -0700 | [diff] [blame] | 124 | <item name="android:shadowColor">#FF000000</item> |
Winson Chung | 557d6ed | 2011-07-08 15:34:52 -0700 | [diff] [blame] | 125 | <item name="android:shadowDx">0.0</item> |
Winson Chung | c7aef8c | 2011-09-15 18:53:04 -0700 | [diff] [blame] | 126 | <item name="android:shadowDy">1.0</item> |
| 127 | <item name="android:shadowRadius">4.0</item> |
Winson Chung | 4c98d92 | 2011-05-31 16:50:48 -0700 | [diff] [blame] | 128 | </style> |
Winson Chung | 1cad91e | 2011-05-25 17:41:01 -0700 | [diff] [blame] | 129 | |
Sunny Goyal | 7066003 | 2015-05-14 00:07:08 -0700 | [diff] [blame] | 130 | <style name="DropTargetButton" parent="DropTargetButtonBase" /> |
Sunny Goyal | 0e375f9 | 2014-10-23 11:38:15 -0700 | [diff] [blame] | 131 | |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 132 | <!-- Virtual preloaders --> |
Sunny Goyal | 95abbb3 | 2014-08-04 10:53:22 -0700 | [diff] [blame] | 133 | <style name="PreloadIcon"> |
Sunny Goyal | 59871ef | 2016-02-24 00:27:08 +0000 | [diff] [blame] | 134 | <item name="background">@drawable/virtual_preload</item> |
Sunny Goyal | 95abbb3 | 2014-08-04 10:53:22 -0700 | [diff] [blame] | 135 | <item name="indicatorSize">4dp</item> |
| 136 | <item name="ringOutset">4dp</item> |
| 137 | </style> |
| 138 | |
| 139 | <style name="PreloadIcon.Folder"> |
Sunny Goyal | 59871ef | 2016-02-24 00:27:08 +0000 | [diff] [blame] | 140 | <item name="background">@drawable/virtual_preload_folder</item> |
Sunny Goyal | 95abbb3 | 2014-08-04 10:53:22 -0700 | [diff] [blame] | 141 | <item name="indicatorSize">4dp</item> |
| 142 | <item name="ringOutset">4dp</item> |
| 143 | </style> |
Adam Cohen | be25822 | 2014-10-24 16:45:59 -0700 | [diff] [blame] | 144 | </resources> |