blob: 90338ae4441a1b7a17e6399b3614b1b26faa429a [file] [log] [blame]
The Android Open Source Project31dd5032009-03-03 19:32:27 -08001<?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 Goyal5abb9f82016-02-09 15:22:42 -080021 <!-- 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 Goyalf1468af2016-02-17 11:36:26 -080031 <style name="Theme" parent="@style/LauncherTheme"></style>
32
Sunny Goyal3f0a53f2016-10-11 15:49:42 -070033 <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 Sapperstein5f7750d2016-06-20 12:48:22 -070047 <!-- 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 Goyal5abb9f82016-02-09 15:22:42 -080052 <!-- Overscroll effect -->
Andrew Sapperstein5f7750d2016-06-20 12:48:22 -070053 <style name="CustomOverscroll" />
54
Andrew Sappersteinabef55a2016-06-19 12:49:00 -070055 <style name="CustomOverscroll.Light" parent="@android:style/Theme.DeviceDefault.Light">
Winson Chung243fdd72015-06-22 19:48:07 -070056 <item name="android:colorEdgeEffect">@color/folder_edge_effect_color</item>
57 </style>
58
Andrew Sapperstein5f7750d2016-06-20 12:48:22 -070059 <style name="CustomOverscroll.Dark">
Winson Chung243fdd72015-06-22 19:48:07 -070060 <item name="android:colorEdgeEffect">@color/workspace_edge_effect_color</item>
61 </style>
Winson Chung82f55532011-08-09 14:14:23 -070062
Sunny Goyal5abb9f82016-02-09 15:22:42 -080063 <!-- Different icons -->
Winson Chung208ed752015-05-12 19:05:30 -070064 <style name="Icon">
Romain Guy8f19cdd2010-01-08 15:07:00 -080065 <item name="android:layout_width">match_parent</item>
66 <item name="android:layout_height">match_parent</item>
Winson Chung4b825dcd2011-06-19 12:41:22 -070067 <item name="android:layout_gravity">center</item>
Winson Chung785d2eb2011-04-14 16:08:02 -070068 <item name="android:gravity">center_horizontal</item>
69 <item name="android:singleLine">true</item>
70 <item name="android:ellipsize">marquee</item>
Andrew Flynn0dca1ec2012-02-29 13:33:22 -080071 <item name="android:textColor">@color/workspace_icon_text_color</item>
Winson Chung785d2eb2011-04-14 16:08:02 -070072 <item name="android:shadowRadius">2.0</item>
73 <item name="android:shadowColor">#B0000000</item>
Adam Cohen22cf5262013-09-18 15:14:17 -070074 <item name="android:fontFamily">sans-serif-condensed</item>
The Android Open Source Project31dd5032009-03-03 19:32:27 -080075 </style>
76
Winson Chung208ed752015-05-12 19:05:30 -070077 <style name="Icon.AllApps">
Winson Chung557d6ed2011-07-08 15:34:52 -070078 <item name="android:background">@null</item>
Adam Cohen96bb7982014-07-07 11:58:56 -070079 <item name="android:textColor">@color/quantum_panel_text_color</item>
Winson Chung6e1c0d32013-10-25 15:24:24 -070080 <item name="android:drawablePadding">@dimen/dynamic_grid_icon_drawable_padding</item>
Adam Cohena38dc902014-09-07 17:48:55 +020081 <item name="android:shadowRadius">0</item>
Winson122a7532015-09-23 16:11:35 -070082 <item name="android:paddingLeft">4dp</item>
83 <item name="android:paddingRight">4dp</item>
Sunny Goyal508da152014-08-14 10:53:27 -070084 <item name="customShadows">false</item>
Winson Chung557d6ed2011-07-08 15:34:52 -070085 </style>
Adam Cohen96bb7982014-07-07 11:58:56 -070086
Winson Chung208ed752015-05-12 19:05:30 -070087 <style name="Icon.Folder">
Adam Cohen96bb7982014-07-07 11:58:56 -070088 <item name="android:background">@null</item>
89 <item name="android:textColor">@color/quantum_panel_text_color</item>
Adam Cohena38dc902014-09-07 17:48:55 +020090 <item name="android:shadowRadius">0</item>
Sunny Goyalbaec6ff2016-09-14 11:26:21 -070091 <item name="android:textSize">@dimen/folder_child_text_size</item>
Sunny Goyal00341902016-09-23 10:19:39 -070092 <item name="android:gravity">center_horizontal</item>
Sunny Goyalbaec6ff2016-09-14 11:26:21 -070093 <item name="android:includeFontPadding">false</item>
Adam Cohen96bb7982014-07-07 11:58:56 -070094 <item name="customShadows">false</item>
Sunny Goyalbaec6ff2016-09-14 11:26:21 -070095 <item name="iconDisplay">folder</item>
Adam Cohen96bb7982014-07-07 11:58:56 -070096 </style>
97
Tony Wickham1bce7fd2016-04-28 17:39:03 -070098 <style name="Icon.DeepShortcut">
Tony Wickham1bce7fd2016-04-28 17:39:03 -070099 <item name="android:gravity">start|center_vertical</item>
Tony Wickham1f01b012016-08-03 10:43:50 -0700100 <item name="android:textAlignment">viewStart</item>
Tony Wickham1bce7fd2016-04-28 17:39:03 -0700101 <item name="android:elevation">@dimen/deep_shortcuts_elevation</item>
Sunny Goyala2454ad2016-07-22 10:50:11 -0700102 <item name="android:paddingStart">@dimen/bg_pill_height</item>
Tony780c9262016-07-25 17:17:11 -0700103 <item name="android:paddingEnd">@dimen/deep_shortcut_padding_end</item>
Sunny Goyala2454ad2016-07-22 10:50:11 -0700104 <item name="android:drawableEnd">@drawable/deep_shortcuts_drag_handle</item>
Tony780c9262016-07-25 17:17:11 -0700105 <item name="android:drawablePadding">@dimen/deep_shortcut_drawable_padding</item>
Tony Wickhamd92e36e2016-08-02 11:53:07 -0700106 <item name="android:textColor">#FF212121</item>
107 <item name="android:textSize">14sp</item>
108 <item name="android:fontFamily">sans-serif</item>
Tony Wickham1bce7fd2016-04-28 17:39:03 -0700109 <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 Goyal5abb9f82016-02-09 15:22:42 -0800115 <!-- Drop targets -->
Sunny Goyal70660032015-05-14 00:07:08 -0700116 <style name="DropTargetButtonBase">
Winson Chung4c98d922011-05-31 16:50:48 -0700117 <item name="android:drawablePadding">7.5dp</item>
Tony Wickhame0dab192016-09-28 16:22:36 -0700118 <item name="android:paddingLeft">16dp</item>
119 <item name="android:paddingRight">16dp</item>
Winson Chung61fa4192011-06-12 15:15:29 -0700120 <item name="android:textColor">#FFFFFFFF</item>
Sunny Goyal0e375f92014-10-23 11:38:15 -0700121 <item name="android:textSize">@dimen/drop_target_text_size</item>
Winson Chung90576b52011-09-27 17:45:27 -0700122 <item name="android:singleLine">true</item>
123 <item name="android:ellipsize">end</item>
Winson Chung7d7541e2011-09-16 20:14:36 -0700124 <item name="android:shadowColor">#FF000000</item>
Winson Chung557d6ed2011-07-08 15:34:52 -0700125 <item name="android:shadowDx">0.0</item>
Winson Chungc7aef8c2011-09-15 18:53:04 -0700126 <item name="android:shadowDy">1.0</item>
127 <item name="android:shadowRadius">4.0</item>
Winson Chung4c98d922011-05-31 16:50:48 -0700128 </style>
Winson Chung1cad91e2011-05-25 17:41:01 -0700129
Sunny Goyal70660032015-05-14 00:07:08 -0700130 <style name="DropTargetButton" parent="DropTargetButtonBase" />
Sunny Goyal0e375f92014-10-23 11:38:15 -0700131
Sunny Goyal5abb9f82016-02-09 15:22:42 -0800132 <!-- Virtual preloaders -->
Sunny Goyal95abbb32014-08-04 10:53:22 -0700133 <style name="PreloadIcon">
Sunny Goyal59871ef2016-02-24 00:27:08 +0000134 <item name="background">@drawable/virtual_preload</item>
Sunny Goyal95abbb32014-08-04 10:53:22 -0700135 <item name="indicatorSize">4dp</item>
136 <item name="ringOutset">4dp</item>
137 </style>
138
139 <style name="PreloadIcon.Folder">
Sunny Goyal59871ef2016-02-24 00:27:08 +0000140 <item name="background">@drawable/virtual_preload_folder</item>
Sunny Goyal95abbb32014-08-04 10:53:22 -0700141 <item name="indicatorSize">4dp</item>
142 <item name="ringOutset">4dp</item>
143 </style>
Adam Cohenbe258222014-10-24 16:45:59 -0700144</resources>