blob: 4c0230ac5b3600049534e54ff2a8a44d215dcc22 [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
Andrew Sapperstein5f7750d2016-06-20 12:48:22 -070033 <!-- 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 Goyal5abb9f82016-02-09 15:22:42 -080038 <!-- Overscroll effect -->
Andrew Sapperstein5f7750d2016-06-20 12:48:22 -070039 <style name="CustomOverscroll" />
40
Andrew Sappersteinabef55a2016-06-19 12:49:00 -070041 <style name="CustomOverscroll.Light" parent="@android:style/Theme.DeviceDefault.Light">
Winson Chung243fdd72015-06-22 19:48:07 -070042 <item name="android:colorEdgeEffect">@color/folder_edge_effect_color</item>
43 </style>
44
Andrew Sapperstein5f7750d2016-06-20 12:48:22 -070045 <style name="CustomOverscroll.Dark">
Winson Chung243fdd72015-06-22 19:48:07 -070046 <item name="android:colorEdgeEffect">@color/workspace_edge_effect_color</item>
47 </style>
Winson Chung82f55532011-08-09 14:14:23 -070048
Sunny Goyal5abb9f82016-02-09 15:22:42 -080049 <!-- Different icons -->
Winson Chung208ed752015-05-12 19:05:30 -070050 <style name="Icon">
Romain Guy8f19cdd2010-01-08 15:07:00 -080051 <item name="android:layout_width">match_parent</item>
52 <item name="android:layout_height">match_parent</item>
Winson Chung4b825dcd2011-06-19 12:41:22 -070053 <item name="android:layout_gravity">center</item>
Winson Chung785d2eb2011-04-14 16:08:02 -070054 <item name="android:gravity">center_horizontal</item>
55 <item name="android:singleLine">true</item>
56 <item name="android:ellipsize">marquee</item>
Andrew Flynn0dca1ec2012-02-29 13:33:22 -080057 <item name="android:textColor">@color/workspace_icon_text_color</item>
Winson Chung785d2eb2011-04-14 16:08:02 -070058 <item name="android:shadowRadius">2.0</item>
59 <item name="android:shadowColor">#B0000000</item>
Adam Cohen22cf5262013-09-18 15:14:17 -070060 <item name="android:fontFamily">sans-serif-condensed</item>
The Android Open Source Project31dd5032009-03-03 19:32:27 -080061 </style>
62
Winson Chung208ed752015-05-12 19:05:30 -070063 <style name="Icon.AllApps">
Winson Chung557d6ed2011-07-08 15:34:52 -070064 <item name="android:background">@null</item>
Adam Cohen96bb7982014-07-07 11:58:56 -070065 <item name="android:textColor">@color/quantum_panel_text_color</item>
Winson Chung6e1c0d32013-10-25 15:24:24 -070066 <item name="android:drawablePadding">@dimen/dynamic_grid_icon_drawable_padding</item>
Adam Cohena38dc902014-09-07 17:48:55 +020067 <item name="android:shadowRadius">0</item>
Winson122a7532015-09-23 16:11:35 -070068 <item name="android:paddingLeft">4dp</item>
69 <item name="android:paddingRight">4dp</item>
Sunny Goyal508da152014-08-14 10:53:27 -070070 <item name="customShadows">false</item>
Winson Chung557d6ed2011-07-08 15:34:52 -070071 </style>
Adam Cohen96bb7982014-07-07 11:58:56 -070072
Winson Chung208ed752015-05-12 19:05:30 -070073 <style name="Icon.Folder">
Adam Cohen96bb7982014-07-07 11:58:56 -070074 <item name="android:background">@null</item>
75 <item name="android:textColor">@color/quantum_panel_text_color</item>
Adam Cohena38dc902014-09-07 17:48:55 +020076 <item name="android:shadowRadius">0</item>
Adam Cohen96bb7982014-07-07 11:58:56 -070077 <item name="customShadows">false</item>
Adam Cohen96bb7982014-07-07 11:58:56 -070078 </style>
79
Tony Wickham1bce7fd2016-04-28 17:39:03 -070080 <style name="Icon.DeepShortcut">
Tony Wickham1bce7fd2016-04-28 17:39:03 -070081 <item name="android:gravity">start|center_vertical</item>
Tony Wickham1bce7fd2016-04-28 17:39:03 -070082 <item name="android:elevation">@dimen/deep_shortcuts_elevation</item>
Sunny Goyala2454ad2016-07-22 10:50:11 -070083 <item name="android:paddingStart">@dimen/bg_pill_height</item>
Tony780c9262016-07-25 17:17:11 -070084 <item name="android:paddingEnd">@dimen/deep_shortcut_padding_end</item>
Sunny Goyala2454ad2016-07-22 10:50:11 -070085 <item name="android:drawableEnd">@drawable/deep_shortcuts_drag_handle</item>
Tony780c9262016-07-25 17:17:11 -070086 <item name="android:drawablePadding">@dimen/deep_shortcut_drawable_padding</item>
Tony Wickham1bce7fd2016-04-28 17:39:03 -070087 <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 Goyal5abb9f82016-02-09 15:22:42 -080094 <!-- Drop targets -->
Sunny Goyal70660032015-05-14 00:07:08 -070095 <style name="DropTargetButtonBase">
Winson Chung4c98d922011-05-31 16:50:48 -070096 <item name="android:drawablePadding">7.5dp</item>
Yura83b0da12014-01-07 18:15:46 +000097 <item name="android:paddingLeft">25dp</item>
98 <item name="android:paddingRight">25dp</item>
Winson Chung61fa4192011-06-12 15:15:29 -070099 <item name="android:textColor">#FFFFFFFF</item>
Sunny Goyal0e375f92014-10-23 11:38:15 -0700100 <item name="android:textSize">@dimen/drop_target_text_size</item>
Winson Chung90576b52011-09-27 17:45:27 -0700101 <item name="android:singleLine">true</item>
102 <item name="android:ellipsize">end</item>
Winson Chung7d7541e2011-09-16 20:14:36 -0700103 <item name="android:shadowColor">#FF000000</item>
Winson Chung557d6ed2011-07-08 15:34:52 -0700104 <item name="android:shadowDx">0.0</item>
Winson Chungc7aef8c2011-09-15 18:53:04 -0700105 <item name="android:shadowDy">1.0</item>
106 <item name="android:shadowRadius">4.0</item>
Winson Chung4c98d922011-05-31 16:50:48 -0700107 </style>
Winson Chung1cad91e2011-05-25 17:41:01 -0700108
Sunny Goyal70660032015-05-14 00:07:08 -0700109 <style name="DropTargetButton" parent="DropTargetButtonBase" />
Sunny Goyal0e375f92014-10-23 11:38:15 -0700110
Sunny Goyal5abb9f82016-02-09 15:22:42 -0800111 <!-- Virtual preloaders -->
Sunny Goyal95abbb32014-08-04 10:53:22 -0700112 <style name="PreloadIcon">
Sunny Goyal59871ef2016-02-24 00:27:08 +0000113 <item name="background">@drawable/virtual_preload</item>
Sunny Goyal95abbb32014-08-04 10:53:22 -0700114 <item name="indicatorSize">4dp</item>
115 <item name="ringOutset">4dp</item>
116 </style>
117
118 <style name="PreloadIcon.Folder">
Sunny Goyal59871ef2016-02-24 00:27:08 +0000119 <item name="background">@drawable/virtual_preload_folder</item>
Sunny Goyal95abbb32014-08-04 10:53:22 -0700120 <item name="indicatorSize">4dp</item>
121 <item name="ringOutset">4dp</item>
122 </style>
Adam Cohenbe258222014-10-24 16:45:59 -0700123</resources>