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