[MOD][Xposed] Tinted Status Bar [BETA 8]

Search This thread

MohammadAG

Inactive Recognized Developer
Sep 7, 2009
1,080
5,504
27
Jerusalem
mohammadag.xceleo.org
Requires Xposed Framework!

Inspired by iOS 6/7 and the latest Android 4.4 fake leaks (whether true or not), implemented by Paranoid Android as manual tinting, and now, an Xposed module with automatic tinting for most apps.

This module tints your status bar according to the currently shown activity, it also allows you to customize the tint color yourself on a per app basis. You'll need to do that for apps where auto detect doesn't work.
It also allows you to have the KitKat gradient on devices that support this module, use 66000000 as the color to achieve that.

Screenshots:
h286Qyil.png
VjCPWWHl.png


Video:
http://www.youtube.com/watch?v=8IX-lnLdKmo

Compatibility:
All Jelly Bean and KitKat devices should be compatible. Some ROMs may introduce issues, if they're open source, I can look into it, if not, post a reply with a deodexed copy of your SystemUI.apk
Tested on:
  • Google Nexus 10
  • Samsung Galaxy S4
  • Samsung Galaxy Note II
  • Samsung Galaxy SII running Chameleon (mainly AOKP-based)
  • 2012 Nexus 7 with CyanogenMod 10.2 (covers all CM10.2 devices).
  • 2012 Nexus 7 with stock Google 4.4
  • LG Optimus L7
  • HTC One / HTC One (M8)
  • HTC Sensation
  • Sony Xperia Z / Z1
  • Galaxy S Advance GT-I9070 with CyanogenMod 10.1 (covers all CM10.1 devices).

Issues:
To report an issue, use Github, I can't track this thread due to how big it's become:
https://github.com/MohammadAG/Xposed-Tinted-Status-Bar/issues

Download:
http://repo.xposed.info/module/com.mohammadag.colouredstatusbar

Source code:
Tinted Status Bar is licensed under GPLv3, including any parts of it in any of your code requires you to release the source code of it.
https://github.com/MohammadAG/Xposed-Tinted-Status-Bar

Contribute to this!
I can't add default colours for all the apps that aren't auto detected. You can contribute to a list of colours that look great on the app.
The quickest way to get the colours is to take a screenshot of the app and use an app like "Color Picker" from the store and using that to get the colour.
Feel free to ask devs to add support for this!
Get and add your colours here: https://docs.google.com/spreadsheet/ccc?key=0AibKJwYV-sTfdF9MZmk3a1JqZ2ZBODJ0azVJV3RnTEE&usp=sharing
Google Drive doesn't support transparency, so if you want to make a cell coloured, remove the first "ff"s, colours should be in the format "RRGGBB". My mod takes "AARRGGBB" too though.

Thanks to:
  • rovo89 for the Xposed Framework.
  • Nottach for his module's source code, it helped with the icon colours.
  • C3C076 for GravityBox, parts of the source code were used for keyboard detection.
  • rovo89 and Tungstwenty, I borrowed some of the UI code from App Settings.
  • Niek Haarman for his ListViewAnimations library.
  • Lars Werkman for Holo Color PIcker.
  • GermainZ for his suggestion on how to determine default icon colour and his many patches
  • GriffinSauce for the icon.

Developers!
Here's the API, you can easily support this in your apps by using this class in your project: https://github.com/MohammadAG/Xpose...madag/colouredstatusbar/StatusBarTintApi.java

Support development:
If you found this mod useful, consider donating with PayPal or buying the Play Store donation package.
 
Last edited:

Zkaar

Senior Member
Oct 13, 2012
322
74
Downloading it now to test.
If anyone tried, will it conflict with 3minit framework, Wanam Xposed or Foxhound ROM?
 

MohammadAG

Inactive Recognized Developer
Sep 7, 2009
1,080
5,504
27
Jerusalem
mohammadag.xceleo.org
its conflicting with Wanam Xposed clock color,, clock color becomes white ,, dont know about circle battery color because i m using battery module...

The colour matches that of icons, obviously having one colour for the clock isn't right (e.g if the clock is black and the status bar is black, then the clock would be invisible).

You're free to change white to whatever you want in the config app.

Sent from my Samsung Galaxy S4 (i9500)
 

Zkaar

Senior Member
Oct 13, 2012
322
74
its conflicting with Wanam Xposed clock color,, clock color becomes white ,, dont know about circle battery color because i m using battery module...

The colour matches that of icons, obviously having one colour for the clock isn't right (e.g if the clock is black and the status bar is black, then the clock would be invisible).

You're free to change white to whatever you want in the config app.

Sent from my Samsung Galaxy S4 (i9500)

I use 3minit to control Statusbar transparency and icon colors, also battery. Wanam is only used to remove the Recent Apps, Battery Fully Charged and others. I'll test it now and see what happens.

[EDIT]
After booting, status bar goes to default (black, blue wifi, white other icons) and after a while, the icons started flashing colors, showing that it is conflicting heavily with 3minit. Won't recommend installing both.
 
Last edited:

MohammadAG

Inactive Recognized Developer
Sep 7, 2009
1,080
5,504
27
Jerusalem
mohammadag.xceleo.org
I use 3minit to control Statusbar transparency and icon colors, also battery. Wanam is only used to remove the Recent Apps, Battery Fully Charged and others. I'll test it now and see what happens.

[EDIT]
After booting, status bar goes to default (black, blue wifi, white other icons) and after a while, the icons started flashing colors, showing that it is conflicting heavily with 3minit. Won't recommend installing both.

The consistent flashing is the 1-2 minute bug mentioned in the first post, let your device settle down after it boots up and it should be fine.
 
  • Like
Reactions: Etihad

Zkaar

Senior Member
Oct 13, 2012
322
74
The consistent flashing is the 1-2 minute bug mentioned in the first post, let your device settle down after it boots up and it should be fine.

Actually not, it kept flashing for about 10 minutes, changing between Tinted and 3minit colors (sometimes even random colors). Disabling the Tinted or 3minit would keep the other app colors. It seems to be a nice app, though I am not using it because of this conflict...
 

MohammadAG

Inactive Recognized Developer
Sep 7, 2009
1,080
5,504
27
Jerusalem
mohammadag.xceleo.org
Actually not, it kept flashing for about 10 minutes, changing between Tinted and 3minit colors (sometimes even random colors). Disabling the Tinted or 3minit would keep the other app colors. It seems to be a nice app, though I am not using it because of this conflict...

Just an explanation of how this mod works.

Every time you launch activity, it goes through what's called a "lifecycle", one part of which is "onResume".
I hook the onResume() method of the Activity superclass, so each time onResume is called, I detect which activity called it, and set colours for that. So, if after the system has settled down, you still get flashing icons, then some activity is being constantly resumed and paused, and I'd be worried about that in terms of battery life.

Check logcat to see what's triggering an icon change. If it's not something you're launching, I'd uninstall the package quickly.
 
  • Like
Reactions: Micoolef

MohammadAG

Inactive Recognized Developer
Sep 7, 2009
1,080
5,504
27
Jerusalem
mohammadag.xceleo.org
Beta 3 out.
Chagenlog:
  • More fine tuned defaults (PayPal)
  • Clock in expanded panel no longer changes colour.
  • New notifications should follow the colour of the icons next to them.
  • Tickers will now change colour when the user changes activity while a ticker is showing.

I consider this beta the one closest to a stable 0.1 release.
 

xdeal

Senior Member
Sep 21, 2010
146
33
34
Albufeira
I understand that it's quite difficult for the dev to apply this to all apps, but it would be great if people post here if they find the current colour of some apps.
 

MohammadAG

Inactive Recognized Developer
Sep 7, 2009
1,080
5,504
27
Jerusalem
mohammadag.xceleo.org

Top Liked Posts

  • There are no posts matching your filters.
  • 747
    Requires Xposed Framework!

    Inspired by iOS 6/7 and the latest Android 4.4 fake leaks (whether true or not), implemented by Paranoid Android as manual tinting, and now, an Xposed module with automatic tinting for most apps.

    This module tints your status bar according to the currently shown activity, it also allows you to customize the tint color yourself on a per app basis. You'll need to do that for apps where auto detect doesn't work.
    It also allows you to have the KitKat gradient on devices that support this module, use 66000000 as the color to achieve that.

    Screenshots:
    h286Qyil.png
    VjCPWWHl.png


    Video:
    http://www.youtube.com/watch?v=8IX-lnLdKmo

    Compatibility:
    All Jelly Bean and KitKat devices should be compatible. Some ROMs may introduce issues, if they're open source, I can look into it, if not, post a reply with a deodexed copy of your SystemUI.apk
    Tested on:
    • Google Nexus 10
    • Samsung Galaxy S4
    • Samsung Galaxy Note II
    • Samsung Galaxy SII running Chameleon (mainly AOKP-based)
    • 2012 Nexus 7 with CyanogenMod 10.2 (covers all CM10.2 devices).
    • 2012 Nexus 7 with stock Google 4.4
    • LG Optimus L7
    • HTC One / HTC One (M8)
    • HTC Sensation
    • Sony Xperia Z / Z1
    • Galaxy S Advance GT-I9070 with CyanogenMod 10.1 (covers all CM10.1 devices).

    Issues:
    To report an issue, use Github, I can't track this thread due to how big it's become:
    https://github.com/MohammadAG/Xposed-Tinted-Status-Bar/issues

    Download:
    http://repo.xposed.info/module/com.mohammadag.colouredstatusbar

    Source code:
    Tinted Status Bar is licensed under GPLv3, including any parts of it in any of your code requires you to release the source code of it.
    https://github.com/MohammadAG/Xposed-Tinted-Status-Bar

    Contribute to this!
    I can't add default colours for all the apps that aren't auto detected. You can contribute to a list of colours that look great on the app.
    The quickest way to get the colours is to take a screenshot of the app and use an app like "Color Picker" from the store and using that to get the colour.
    Feel free to ask devs to add support for this!
    Get and add your colours here: https://docs.google.com/spreadsheet/ccc?key=0AibKJwYV-sTfdF9MZmk3a1JqZ2ZBODJ0azVJV3RnTEE&usp=sharing
    Google Drive doesn't support transparency, so if you want to make a cell coloured, remove the first "ff"s, colours should be in the format "RRGGBB". My mod takes "AARRGGBB" too though.

    Thanks to:
    • rovo89 for the Xposed Framework.
    • Nottach for his module's source code, it helped with the icon colours.
    • C3C076 for GravityBox, parts of the source code were used for keyboard detection.
    • rovo89 and Tungstwenty, I borrowed some of the UI code from App Settings.
    • Niek Haarman for his ListViewAnimations library.
    • Lars Werkman for Holo Color PIcker.
    • GermainZ for his suggestion on how to determine default icon colour and his many patches
    • GriffinSauce for the icon.

    Developers!
    Here's the API, you can easily support this in your apps by using this class in your project: https://github.com/MohammadAG/Xpose...madag/colouredstatusbar/StatusBarTintApi.java

    Support development:
    If you found this mod useful, consider donating with PayPal or buying the Play Store donation package.
    42
    Tracking 214 pages is hard, that's why I barely post here anymore. If there's an issue, @GermainZ's suggestion is best, use Github issues, I'll try to reply there more often.

    BETA 8 is out, change log from Git:
    • KitKat nav bar on devices with GravityBox
    • [FIX]'React to Action Bar visibility changes' setting had no effect (thanks @GermainZ)
    • Added Pushbullet, Instagram colors
    • Halo Floating Window fix
    • Raise BroadcastReceiver priority, fix lockscreen check on API <= 15
    • Better animation, instead of fade in/out, use ValueAnimator
    • Added Portuguese [BR] Translation (thanks LaraCraft304)
    • Validate colours before saving and prevent crash if invalid (thanks to @GermainZ's Github issue)
    • React to lights out and set a dark transparent colour (configurable)
    • Fix 4.4 IM tint
    • NO MOAR DELAYS
    • Fix some NullPointerExceptions
    • Fix navigation bar tinting on lock screen
    • Force GravityBox coloring to on.
    • Smaller APK size
    40
    Version 1.8.9.5 is now on the repository.

    Full change log in Github commits, but here are the notable ones:
    • Plugin downloader
    • MIUI V5 support by KqStone
    • Navigation bar overlay support
    • Configurable overlays
    • Support for CM's different battery modes by GermainZ
    • DEV: Added gradle build files for Android Studio (thanks GermainZ)
    • Fixed some bugs.
    27
    I have a problem with new plugin playstore. When i go to the app that i want to download a press back without scrolling down, the green status bar colour will remain. It not change to gray. Hope someone can understand me

    Also when opening expanded app info the status bar and navbar icons don't get dark

    ^Fixed

    Google Play Store 5.0 Plugin

    Source
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone