summaryrefslogtreecommitdiffstats
path: root/res/values/styles.xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2016-02-09 15:22:42 -0800
committerSunny Goyal <sunnygoyal@google.com>2016-02-10 15:11:35 -0800
commit5abb9f88efc42ce7c5b34f21944bc119ecb57cec (patch)
tree08738ce66784e2a002fecc6ec08bc06e609964d0 /res/values/styles.xml
parent7c50b31f57e3e3ec1f433d243afe05554dcaf977 (diff)
downloadandroid_packages_apps_Trebuchet-5abb9f88efc42ce7c5b34f21944bc119ecb57cec.tar.gz
android_packages_apps_Trebuchet-5abb9f88efc42ce7c5b34f21944bc119ecb57cec.tar.bz2
android_packages_apps_Trebuchet-5abb9f88efc42ce7c5b34f21944bc119ecb57cec.zip
Separating out Launcher3 resources from Wallpaper resources
Change-Id: I7e33c83df8b16e8552fe588cadbcf3bf7881cb95
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r--res/values/styles.xml18
1 files changed, 16 insertions, 2 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index c03f08d4e..35a90884a 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -18,14 +18,26 @@
-->
<resources>
- <style name="Theme.Light.CustomOverscroll" parent="@android:style/Theme.DeviceDefault">
+ <!-- Launcher theme -->
+ <style name="BaseLauncherTheme" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar">
+ <item name="android:windowBackground">@android:color/transparent</item>
+ <item name="android:colorBackgroundCacheHint">@null</item>
+ <item name="android:windowShowWallpaper">true</item>
+ <item name="android:windowNoTitle">true</item>
+ </style>
+
+ <style name="LauncherTheme" parent="@style/BaseLauncherTheme"></style>
+
+ <!-- Overscroll effect -->
+ <style name="CustomOverscroll.Light" parent="@android:style/Theme.DeviceDefault">
<item name="android:colorEdgeEffect">@color/folder_edge_effect_color</item>
</style>
- <style name="Theme.Dark.CustomOverscroll" parent="@android:style/Theme.DeviceDefault">
+ <style name="CustomOverscroll.Dark" parent="@android:style/Theme.DeviceDefault">
<item name="android:colorEdgeEffect">@color/workspace_edge_effect_color</item>
</style>
+ <!-- Different icons -->
<style name="Icon">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">match_parent</item>
@@ -56,6 +68,7 @@
<item name="customShadows">false</item>
</style>
+ <!-- Drop targets -->
<style name="DropTargetButtonContainer">
<item name="android:layout_width">0dp</item>
<item name="android:layout_height">match_parent</item>
@@ -81,6 +94,7 @@
<style name="DropTargetButton" parent="DropTargetButtonBase" />
+ <!-- Virtual preloaders -->
<style name="PreloadIcon">
<item name="background">@drawable/virtual_preload</item>
<item name="indicatorSize">4dp</item>