Status Bar Text Color Extension

Status Bar Text Color Extension

This extension allows you to change the color of the status bar text to a dark color. When used in combination with an extension such as TaifunTools, you can use a lighter status bar background color without worrying about its impact on readability. Note that this extension only functions on API 23 (Marshmallow) and later. On older versions it has no effect.

Blocks

This extension has exactly one block:

  • component_method: Changes status bar text color to dark.

Recommended Usage

blocks

Downloads

Version 1

AIX: com.nitinseshadri.aix.NSStatusBarTextColor.aix (5.9 KB)
Source: NSStatusBarTextColor.java.txt (1.6 KB)
Example AIA: NSStatusBarTextColorDemo.aia (27.5 KB)
This extension is released for free under the MIT License.

5 Likes

thank you for your contribution
I now added your extension into the extensions directory here https://puravidaapps.com/extensions.php

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

2 Likes

Helpful Extension, @nitinseshadri I need permission for using this extension in hackathon.

Can you add a block in the "status bar text color extension"
that is the transparent status bar block.
If you need the java code, maybe this code can help you :

Window w = this.getWindow();w.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);w.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); w.setStatusBarColor(Color.parseColor("#00000000"));

w.setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS, WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);

1 Like

Yes, you can use this extension.

The Hackathon has been finished, It would have been great, if you had replied before :sweat_smile:

2 Likes