omni: add nature theme style
Change-Id: I37c81bb2acaa97772c3a926b206b1d2b7770e797
diff --git a/themes/overlays/Android.mk b/themes/overlays/Android.mk
index e7c0e5e..fde498e 100644
--- a/themes/overlays/Android.mk
+++ b/themes/overlays/Android.mk
@@ -24,10 +24,12 @@
PrimaryColorOmniBlackOverlay \
PrimaryColorDarkBlueOverlay \
PrimaryColorDeepBlueOverlay \
+ PrimaryColorDarkGreenOverlay \
AccentColorRedDevilOverlay \
FontLatoSourceOverlay \
FontMuliSourceOverlay \
- EmptyOverlay
+ EmptyOverlay \
+ EmptyProductOverlay
include $(BUILD_PHONY_PACKAGE)
include $(CLEAR_VARS)
diff --git a/themes/overlays/PrimaryColorDarkGreen/Android.mk b/themes/overlays/PrimaryColorDarkGreen/Android.mk
new file mode 100644
index 0000000..e4c2b98
--- /dev/null
+++ b/themes/overlays/PrimaryColorDarkGreen/Android.mk
@@ -0,0 +1,29 @@
+#
+# Copyright 2018, The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_RRO_THEME := PrimaryColorDarkGreen
+
+LOCAL_SRC_FILES := $(call all-subdir-java-files)
+
+LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
+
+LOCAL_PACKAGE_NAME := PrimaryColorDarkGreenOverlay
+LOCAL_SDK_VERSION := current
+
+include $(BUILD_RRO_PACKAGE)
diff --git a/themes/overlays/PrimaryColorDarkGreen/AndroidManifest.xml b/themes/overlays/PrimaryColorDarkGreen/AndroidManifest.xml
new file mode 100644
index 0000000..3ea7887
--- /dev/null
+++ b/themes/overlays/PrimaryColorDarkGreen/AndroidManifest.xml
@@ -0,0 +1,25 @@
+<!--
+/**
+ * Copyright (c) 2018, The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.theme.color.primary.darkgreen"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <overlay android:targetPackage="android" android:category="android.theme.customization.primary_color" android:priority="2"/>
+
+ <application android:label="@string/primary_color_dark_green" android:hasCode="false"/>
+</manifest>
diff --git a/themes/overlays/PrimaryColorDarkGreen/res/values-night/colors.xml b/themes/overlays/PrimaryColorDarkGreen/res/values-night/colors.xml
new file mode 100644
index 0000000..a7b7e18
--- /dev/null
+++ b/themes/overlays/PrimaryColorDarkGreen/res/values-night/colors.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- Colors specific to DeviceDefault themes. These are mostly pass-throughs to enable
+ overlaying new theme colors. -->
+<resources>
+ <color name="primary_device_default_settings">#082912</color> <!-- colorPrimary -->
+ <color name="primary_dark_device_default_settings">#07230f</color> <!-- colorPrimaryDark-->
+ <color name="material_grey_800">#092e14</color> <!-- google elgoogleogoelo -->
+ <color name="material_grey_900">#082912</color> <!-- google elgoogleogoelo -->
+ <color name="primary_device_default">@color/primary_dark_device_default_settings</color> <!-- only for ThemePicker! -->
+</resources>
+
diff --git a/themes/overlays/PrimaryColorDarkGreen/res/values/colors.xml b/themes/overlays/PrimaryColorDarkGreen/res/values/colors.xml
new file mode 100644
index 0000000..5f47403
--- /dev/null
+++ b/themes/overlays/PrimaryColorDarkGreen/res/values/colors.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- Colors specific to DeviceDefault themes. These are mostly pass-throughs to enable
+ overlaying new theme colors. -->
+<resources>
+ <color name="primary_device_default">@*android:color/primary_device_default_settings_light</color> <!-- only for ThemePicker! -->
+</resources>
+
diff --git a/themes/overlays/PrimaryColorDarkGreen/res/values/strings.xml b/themes/overlays/PrimaryColorDarkGreen/res/values/strings.xml
new file mode 100644
index 0000000..68fa4d9
--- /dev/null
+++ b/themes/overlays/PrimaryColorDarkGreen/res/values/strings.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * Copyright (c) 2018, The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- Purple accent color name application label. [CHAR LIMIT=50] -->
+ <string name="primary_color_dark_green" translatable="false">Dark Green</string>
+</resources>
+
diff --git a/themes/overlaystub/res/drawable/nature_header.jpg b/themes/overlaystub/res/drawable/nature_header.jpg
new file mode 100644
index 0000000..299a653
--- /dev/null
+++ b/themes/overlaystub/res/drawable/nature_header.jpg
Binary files differ
diff --git a/themes/overlaystub/res/drawable/nature_wallpaper.jpg b/themes/overlaystub/res/drawable/nature_wallpaper.jpg
new file mode 100644
index 0000000..1759fd7
--- /dev/null
+++ b/themes/overlaystub/res/drawable/nature_wallpaper.jpg
Binary files differ
diff --git a/themes/overlaystub/res/values/arrays.xml b/themes/overlaystub/res/values/arrays.xml
index b30f1bc..74f4ad4 100644
--- a/themes/overlaystub/res/values/arrays.xml
+++ b/themes/overlaystub/res/values/arrays.xml
@@ -5,5 +5,6 @@
<item>omni</item>
<item>space</item>
<item>red</item>
+ <item>nature</item>
</string-array>
</resources>
diff --git a/themes/overlaystub/res/values/drawable.xml b/themes/overlaystub/res/values/drawable.xml
index 3afde97..0841371 100644
--- a/themes/overlaystub/res/values/drawable.xml
+++ b/themes/overlaystub/res/values/drawable.xml
@@ -6,5 +6,7 @@
<item type="drawable" name="theme_wallpaper_thumbnail_space">@drawable/space_wallpaper</item>
<item type="drawable" name="theme_wallpaper_red">@drawable/red_wallpaper</item>
<item type="drawable" name="theme_wallpaper_thumbnail_red">@drawable/red_wallpaper</item>
+ <item type="drawable" name="theme_wallpaper_nature">@drawable/nature_wallpaper</item>
+ <item type="drawable" name="theme_wallpaper_thumbnail_nature">@drawable/nature_wallpaper</item>
</resources>
diff --git a/themes/overlaystub/res/values/strings.xml b/themes/overlaystub/res/values/strings.xml
index a8adb88..9a60003 100644
--- a/themes/overlaystub/res/values/strings.xml
+++ b/themes/overlaystub/res/values/strings.xml
@@ -18,10 +18,10 @@
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string name="theme_name_default">Default</string>
- <string name="theme_title_default">@string/theme_name_default</string>
+ <string name="theme_name_default">Default</string>
+ <string name="theme_title_default">@string/theme_name_default</string>
- <!-- Values to declare accents, there aren't themes. -->
+ <!-- Values to declare accents, there aren't themes. -->
<string name="theme_name_omni">Omni</string>
<string name="theme_title_omni">@string/theme_name_omni</string>
<string name="theme_overlay_color_omni">com.android.theme.color.omni</string>
@@ -62,4 +62,19 @@
<string name="theme_wallpaper_attribution_red">OmniROM</string>
<string name="theme_wallpaper_action_red">https://www.omnirom.org/</string>
<string name="theme_header_red">red_header</string>
+
+ <string name="theme_name_nature">Nature</string>
+ <string name="theme_title_nature">@string/theme_name_nature</string>
+ <string name="theme_overlay_color_nature">com.android.theme.color.green</string>
+ <string name="theme_overlay_primary_nature">com.android.theme.color.primary.darkgreen</string>
+ <string name="theme_overlay_icon_android_nature">com.android.theme.icon_pack.rounded.android</string>
+ <string name="theme_overlay_icon_launcher_nature">com.android.theme.icon_pack.rounded.launcher</string>
+ <string name="theme_overlay_icon_settings_nature">com.android.theme.icon_pack.rounded.settings</string>
+ <string name="theme_overlay_icon_sysui_nature">com.android.theme.icon_pack.rounded.systemui</string>
+ <string name="theme_overlay_shape_nature">com.android.theme.icon.circle</string>
+ <string name="theme_wallpaper_title_nature">Omni</string>
+ <string name="theme_wallpaper_attribution_nature">OmniROM</string>
+ <string name="theme_wallpaper_action_nature">https://www.omnirom.org/</string>
+ <string name="theme_header_nature">nature_header</string>
+
</resources>