summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDemon Singur <demonsingur@gmail.com>2018-07-05 21:16:25 +0200
committerJoey <joey@lineageos.org>2018-07-05 21:16:25 +0200
commit32e0fb5b464de349b0e40c0abd6a5a0a10ae7655 (patch)
tree5498729d2b18e2e62dd38286ac943ce2d526a1b2
parentc3d0038db26667844d199a3c2dc2ffc1d162f4e8 (diff)
downloadandroid_packages_overlays_Lineage-32e0fb5b464de349b0e40c0abd6a5a0a10ae7655.tar.gz
android_packages_overlays_Lineage-32e0fb5b464de349b0e40c0abd6a5a0a10ae7655.tar.bz2
android_packages_overlays_Lineage-32e0fb5b464de349b0e40c0abd6a5a0a10ae7655.zip
overlays: add black stylelineage-15.1
Change-Id: I3414cfdb63929eae24b9942e095144d60b103cd1 Signed-off-by: Joey <joey@lineageos.org>
-rw-r--r--black/Android.mk9
-rw-r--r--black/AndroidManifest.xml26
-rw-r--r--black/res/values/styles.xml64
3 files changed, 99 insertions, 0 deletions
diff --git a/black/Android.mk b/black/Android.mk
new file mode 100644
index 0000000..ff2e000
--- /dev/null
+++ b/black/Android.mk
@@ -0,0 +1,9 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_RRO_THEME := LineageBlackTheme
+LOCAL_CERTIFICATE := platform
+LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
+LOCAL_PACKAGE_NAME := LineageBlackTheme
+
+include $(BUILD_RRO_SYSTEM_PACKAGE)
diff --git a/black/AndroidManifest.xml b/black/AndroidManifest.xml
new file mode 100644
index 0000000..ebe91a3
--- /dev/null
+++ b/black/AndroidManifest.xml
@@ -0,0 +1,26 @@
+<!--
+ Copyright (c) 2018, The LineageOS 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="org.lineageos.overlay.black"
+ android:versionCode="1"
+ android:versionName="1.0">
+
+ <overlay
+ android:targetPackage="android"
+ android:priority="1" />
+
+ <application android:hasCode="false" />
+</manifest>
diff --git a/black/res/values/styles.xml b/black/res/values/styles.xml
new file mode 100644
index 0000000..c0341dc
--- /dev/null
+++ b/black/res/values/styles.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2018, The LineageOS 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>
+ <style name="Theme.DeviceDefault.QuickSettings" parent="@*android:style/Theme.DeviceDefault">
+ <item name="android:colorPrimary">@*android:color/black</item>
+ <item name="android:colorPrimaryDark">@*android:color/black</item>
+ <item name="android:colorSecondary">@*android:color/black</item>
+ <item name="android:colorAccent">@*android:color/accent_device_default_dark</item>
+ <item name="android:colorControlNormal">?android:attr/textColorPrimary</item>
+ <item name="android:colorBackgroundFloating">@*android:color/black</item>
+ <item name="android:dialogTheme">@*android:style/Theme.Material.Settings.BaseDialog</item>
+ <item name="android:alertDialogTheme">@*android:style/Theme.Material.Settings.Dialog.BaseAlert</item>
+ </style>
+
+ <style name="Theme.DeviceDefault.QuickSettings.Dialog" parent="@*android:style/Theme.DeviceDefault.Dialog">
+ <item name="android:colorPrimary">@*android:color/black</item>
+ <item name="android:colorSecondary">@*android:color/black</item>
+ <item name="android:colorAccent">@*android:color/accent_device_default_dark</item>
+ <item name="android:colorBackground">#ff121212</item>
+ </style>
+
+ <style name="Theme.DeviceDefault.Settings" parent="@*android:style/Theme.Material">
+ <item name="android:actionBarTheme">@*android:style/ThemeOverlay.DeviceDefault.ActionBar.Accent</item>
+ <item name="android:colorBackground">@*android:color/black</item>
+ <item name="android:colorPrimary">@*android:color/black</item>
+ <item name="android:colorPrimaryDark">@*android:color/black</item>
+ <item name="android:colorAccent">@*android:color/accent_device_default_dark</item>
+ <item name="android:colorEdgeEffect">@*android:color/white</item>
+ <item name="android:colorSecondary">@*android:color/black</item>
+ <item name="android:colorControlNormal">@*android:color/accent_device_default_dark</item>
+ <item name="android:navigationBarColor">@*android:color/black</item>
+ <item name="android:textColorPrimaryInverse">@*android:color/black</item>
+ <item name="android:dialogTheme">@*android:style/Theme.Material.Settings.BaseDialog</item>
+ <item name="android:alertDialogTheme">@*android:style/Theme.Material.Settings.Dialog.BaseAlert</item>
+ </style>
+
+ <style name="Theme.Material.Settings.BaseDialog" parent="@*android:style/Theme.Material.BaseDialog">
+ <item name="android:colorPrimary">@*android:color/black</item>
+ <item name="android:colorPrimaryDark">@*android:color/black</item>
+ <item name="android:colorAccent">@*android:color/accent_device_default_dark</item>
+ <item name="android:colorBackground">#ff121212</item>
+ </style>
+
+ <style name="Theme.Material.Settings.Dialog.BaseAlert" parent="@*android:style/Theme.Material.Dialog.BaseAlert">
+ <item name="android:colorPrimary">@*android:color/black</item>
+ <item name="android:colorPrimaryDark">@*android:color/black</item>
+ <item name="android:colorAccent">@*android:color/accent_device_default_dark</item>
+ <item name="android:colorBackground">#ff121212</item>
+ </style>
+</resources> \ No newline at end of file