Whiten curtain on stock 8.0 I decided to share with everyone instructions on how to make the shutter color AOSP, instead of the dark old. I took as a basis
this instructionBut slightly modified it.
For all we need framework-res.apk. Decompile it and go in the res / values ​​/ styles.xml. Then under the spoiler.
Find
Theme.DeviceDefault.QuickSettings <style name = "Theme.DeviceDefault.QuickSettings" parent = "@ style / Theme.DeviceDefault">
<item name = "dialogTheme">@ Style / Theme.DeviceDefault.QuickSettings.Dialog</ item>
<item name = "colorControlNormal">? textColorPrimary</ item>
<item name = "colorPrimary">@ Color / primary_device_default_settings</ item>
<item name = "colorPrimaryDark">@ Color / primary_dark_device_default_settings</ item>
<item name = "colorAccent">@ Color / accent_device_default_settings_dark</ item>
<item name = "colorSecondary">@ Color / secondary_device_default_settings</ item>
</ style>
and bring to mind
<style name = "Theme.DeviceDefault.QuickSettings" parent = "@ style / Theme.DeviceDefault.Light">
<item name = "colorControlNormal">? textColorPrimary</ item>
<item name = "colorPrimary">@ Color / primary_device_default_settings_light</ item>
<item name = "colorPrimaryDark">@ Color / primary_dark_device_default_settings_light</ item>
<item name = "colorAccent">@ Color / accent_device_default_settings_light</ item>
<item name = "colorSecondary">@ Color / secondary_device_default_settings_light</ item>
</ style>
Farther
Theme.DeviceDefault.QuickSettings.Dialog <style name = "Theme.DeviceDefault.QuickSettings.Dialog" parent = "@ style / Theme.DeviceDefault.Dialog">
<item name = "colorPrimary">@ Color / primary_device_default_settings</ item>
<item name = "colorPrimaryDark">@ Color / primary_dark_device_default_settings</ item>
<item name = "colorAccent">@ Color / accent_device_default_settings_dark</ item>
<item name = "colorSecondary">@ Color / secondary_device_default_settings</ item>
</ style>
and change on a piece of
<style name = "Theme.DeviceDefault.QuickSettings.Dialog" parent = "@ style / Theme.DeviceDefault.Light.Dialog">
<item name = "colorPrimary">@ Color / primary_device_default_settings_light</ item>
<item name = "colorPrimaryDark">@ Color / primary_dark_device_default_settings_light</ item>
<item name = "colorAccent">@ Color / accent_device_default_settings_light</ item>
<item name = "colorSecondary">@ Color / secondary_device_default_settings_light</ item>
</ style>
Are looking for
Theme.DeviceDefault.Settings.Dialogand change the line
<item name = "colorAccent">@ Color / accent_device_default_settings_light</ item>
on
<item name = "colorAccent">@ Color / accent_device_default_light</ item>
Find
Theme.DeviceDefault.Settings.Dialog.Alertand does the same, change
<item name = "colorAccent">@ Color / accent_device_default_settings_light</ item>
on
<item name = "colorAccent">@ Color / accent_device_default_light</ item>
now we are looking for
Theme.DeviceDefault.Settings.Dialog.NoActionBarand give
<style name = "Theme.DeviceDefault.Settings.Dialog.NoActionBar" parent = "@ style / Theme.DeviceDefault.Light.Dialog.NoActionBar">
<item name = "colorPrimary">@ Color / primary_device_default_settings</ item>
<item name = "colorPrimaryDark">@ Color / primary_dark_device_default_settings</ item>
<item name = "colorAccent">@ Color / accent_device_default_settings_light</ item>
<item name = "colorSecondary">@ Color / secondary_device_default_settings</ item>
</ style>
to this kind
<style name = "Theme.DeviceDefault.Settings.Dialog.NoActionBar" parent = "@ style / Theme.DeviceDefault.Light.Dialog.NoActionBar" />
Like all, decompile and then we throw in the system should repaint the blind in white.
P.S. in fact, if we apply the instructions and build a frame, the shutter will immediately sulfur in the system. At least it was for me. Decided to understand what it was, I have found a modified frame of the XZ, compared the styles files, saw that they were no different, and even changed all the lines mentioned above. So I just took the styles file from the modified frame and replaced it in his home, everything was fine. Attach itself modified file, you can try to throw it right into your frame and try to rebuild.
styles.xml(445.81 KB)
Post has been editedgeorgearn - 23.04.18, 08:54