Post Reply

[MOD][Xposed][4.4+] Tinted Translucent StatusBar (Beta 3.1)

10th June 2014, 07:03 PM   |  #1  
Woalk's Avatar
OP Senior Member
Thanks Meter: 386
 
148 posts
Join Date:Joined: Oct 2013
More
Requires Xposed Framework by rovo89. Special thanks to him!

Tinting Status Bar and Navigation Bar on KitKat with “Translucent Mode”
This module offers the option to make the status bar and navigation bar “translucent” with a color behind, like the Google apps in Android “L” or the “Translucent Mode” option in WhatsApp+.
For every Activity, in every app you want.



Isn't that nice, huh?

The app just uses the KitKat API to draw the status bar and navigation bar, so - it won't enable Translucent Mode on devices that don't support it.
Otherwise, it will e.g. give you the full Sense 6 feeling even in non-Sense-apps on an HTC Sense 6 device.

For developers, take a look at https://github.com/jgilfelt/SystemBarTint, if you want your app to look like this even without this module.
I use code of this in my module, special thanks to Jeff Gilfelt for giving this template to do something like that!

Download the app from Xposed Repo:
http://repo.xposed.info/module/com.w...ps.xposed.ttsb

To Download the module in Xposed Installer, you have to allow BETA downloads, as the module is currently in Beta state (user interface isn't as bug-free as it should, but I wanted to share my work as soon as I could).

Just activate the module and reboot, as Xposed suggests. A soft reboot should be enough.
After that, you don't need to reboot to apply settings.

There's a thing called TTSB Community. There you can create an account (you don't have to) and download settings other users published there, or (with an account) publish your own if they aren't there.
Maybe in some time you'll find many settings over there!
If you want to create an account, please see the Terms of use. Thank you.

For using this module bypassing the not-very-well-working UI, maybe a look on my Wiki article about manually setting TTSB Settings Codes should help:
https://github.com/woalk/TintedTrans...iki/TTSB-codes

If it does not work, check:
  • Do you get translucent StatusBar in other apps, without the module (there are test apps for this purpose in Play Store)?
  • If not: Are you on CyanogenMod? There's an option in “Performance” settings menu to enable or disable things like the gradient.
  • Has your problem something to do with an already known bug (look at the end of this post, there are they listed)?
  • Is your problem just for one special app? Please include a Play Store link, XDA thread link, source code link, or anything like this, of that app, or even a description of how it works, like “apps with text field aligned to the bottom of the screen don't move it with IME anymore, which is making it to disappear behind the keyboard”. Also please post your TTSB settings code for that Activity, if you're able to (if the bug is not with the apps UI).
  • Is your problem device/ROM related? I can't test every ROM because I can't buy every device, but check the first and third point of this list first. My module is using system code of android that should be in every ROM's code, I can't imagine any ROM working without onCreate() method of an Activity.
    Maybe it has something to do with security features of a ROM, because my module is using world-readable SharedPreferences to have access to them from every app's onCreate() methods. If you know a better way, please, tell me, I'm relatively new to Xposed.


But have fun with testing this module!



I was inspired by Tinted Status Bar by MohammadAG, a more complicated module that tints the full status bar, so that module works even on older versions of android (between 4.0 and 4.4+).
But I did not like touching the status bar itself, as it creates some problems with some functions and apps, and it never gave me the mentioned "Sense 6 feeling" I wanted.
So I started to create my own module.
But, thanks to MohammadAG, TSB is also a great alternative if you don't want the Translucent overlay in the status bar.


This module was tested in an emulator and on an HTC One M7 running ARHD 71.1 first, at the moment CyanogenMod 11 M10.

This module works perfectly fine with my other module, Translucent Style, which changes the style of the translucency (gradient, Sense 6/Android “L” style, Sense 5 style, ...), this is very good to make TTSB's result way more unique!

The source code can be found on GitHub under GNU GPL V2:
https://github.com/woalk/TintedTranslucentStatusbar

Changelog:
 

Beta 3.1
  • Fix: FC when there are many comments
  • Fix: username uppercase handling (no uppercase letters allowed)
  • Fix: better username change (only change username)
  • Fix: "Chosen" only showing on top-voted submit.
  • Community passwords now auto-generated. (reason for better username change)
  • Notification center added, to see new comments or votes.
  • (Notification center, see above) Mentions by @(user)
Beta 3.0
  • Introducing TTSB community, a platform to share settings of this module with other users
  • Fix: Made scrolling in main screen a bit smoother.
Beta 2.2.3
  • Fixed XHaloFloatingWindow by excluding its flag from tinting.
Beta 2.2.2
  • Fixed padding = nothing -> FC.
  • Fixed landscape navigation padding.
  • Fixed XHaloFloatingWindow by excluding its flag from tinting.
  • Added option to only sync layout options.
Beta 2.2.1
  • Fixed bug where padding was not saved.
  • Added timestamps to database.
Beta 2.2
  • Now showing if database settings are different from local ones.
  • Fixed bug with FC when trying to enter custom advanced options without settings set.
  • Fixed bug with copying of settings won't work.
  • Fixed bug with the app list where it jumps back to the top when returning to it.
  • Fixed bug with the app list where it does not show all apps sometimes.
Beta 2.1.1
  • Fixed bug with CheckBoxes in Sync menu.
  • Changed unit of “increase status/nav bar height” to dp (to make settings independent from density).
  • Changed some infos about the database in TTSB UI.
  • Made logging an optional option.
Beta 2.1
  • Added TTSB database possibilities.
  • Fixed several smaller bugs.
Beta 2.0
  • Added options to define the three previous layout options more exactly.
  • Added option to don't do anything with layout.
  • Improved UI: app selection now an full list with icons in an Activity.
  • Improved UI: Settings now can be copied to other Activities.
  • New settings saving engine: TTSB settings code.
  • Improved UI: Option to modify settings code directly and to copy and paste it somewhere, so e.g. you can share your settings more easily.
  • The predefined layout options have been reworked.
  • With the right configuration, nearly every app should be able to do that “scroll content behind translucent navbar” thing.
  • Through all that: Many bugfixes (or at least “possible” bug fixes with the right settings).
Beta 1.4
  • Changed layout moving engine.
  • Fixed bug with keyboard not moving the layout.
  • Scrollable content now moves behind NavBar, but is accessable.
Beta 1.3
  • Fixed bug with app crashing when using this module.
  • Fixed bug with settings aren't working for some Activities.
  • Color can now be set in #AARRGGBB or #RRGGBB.
Beta 1.2
  • Added possibility to exclude Activities from “.[ALL]” tinting.
  • Fixed bug with settings, that you had to set an Activity twice to appear.
  • Fixed bug increasing performance between the module's UI Activities.
  • Fixed bug on some devices with the color boxes and autocompletion.
Beta 1.1
  • Added navigation bar tinting.
  • Added alphabetical order for apps and Activities.
  • Added ability to tint all Activities of an app.
  • Added ability to overwrite settings an app already made (buggy atm)
Beta 1.0
Initial release.


Known bugs:
 
  • No seperate landscape options possible.
  • ActionBar color changing within the same Activity (Play Store) cannot be handled at the moment.
  • Dialog windows get borders when they are included in tinting.


Attachment: Screenshots of the user interface of the app.
Attached Thumbnails
Click image for larger version

Name:	scr_0.png
Views:	512
Size:	237.4 KB
ID:	2952071   Click image for larger version

Name:	scr_1.png
Views:	449
Size:	147.8 KB
ID:	2952072   Click image for larger version

Name:	scr_2.png
Views:	432
Size:	97.8 KB
ID:	2952073   Click image for larger version

Name:	scr_3.png
Views:	415
Size:	79.0 KB
ID:	2952074   Click image for larger version

Name:	scr_4.png
Views:	394
Size:	152.6 KB
ID:	2952079  

Click image for larger version

Name:	scr_5.png
Views:	371
Size:	87.0 KB
ID:	2952080   Click image for larger version

Name:	scr_6.png
Views:	370
Size:	100.2 KB
ID:	2952081   Click image for larger version

Name:	scr_7.png
Views:	358
Size:	92.0 KB
ID:	2952082   Click image for larger version

Name:	scr_8.png
Views:	360
Size:	132.7 KB
ID:	2952083   Click image for larger version

Name:	scr_9.png
Views:	347
Size:	82.0 KB
ID:	2952084  

Click image for larger version

Name:	scr_10.png
Views:	369
Size:	122.4 KB
ID:	2952085   Click image for larger version

Name:	scr_example1.png
Views:	386
Size:	106.8 KB
ID:	2952086   Click image for larger version

Name:	scr_example2.png
Views:	426
Size:	108.9 KB
ID:	2952087  
Last edited by Woalk; 28th September 2014 at 09:44 PM. Reason: New version Beta 3.1
The Following 105 Users Say Thank You to Woalk For This Useful Post: [ View ]
10th June 2014, 07:11 PM   |  #2  
Aashuk Mehta's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 878
 
2,261 posts
Join Date:Joined: Sep 2012
More
Lovely

Sent from my Nexus 4 using Tapatalk
10th June 2014, 08:25 PM   |  #3  
Black_Eyes's Avatar
Senior Member
Flag New York
Thanks Meter: 103
 
517 posts
Join Date:Joined: Apr 2013
More
Quote:
Originally Posted by Woalk

[Snip]

i have to set all apps activities manually
Last edited by vanessaem; 11th June 2014 at 07:45 PM.
10th June 2014, 08:44 PM   |  #4  
Woalk's Avatar
OP Senior Member
Thanks Meter: 386
 
148 posts
Join Date:Joined: Oct 2013
More
Quote:
Originally Posted by Black_Eyes

i have to set all apps activities manually

I know, it isn't user friendly atm.
Keep waiting until next weekend or so, I'll work on a way better user experience.
This is just the first preview of what this module will be in its Stable state.
The Following User Says Thank You to Woalk For This Useful Post: [ View ]
10th June 2014, 09:10 PM   |  #5  
Senior Member
Thanks Meter: 14
 
108 posts
Join Date:Joined: Nov 2012
More
Quote:
Originally Posted by Woalk

I know, it isn't user friendly atm.
Keep waiting until next weekend or so, I'll work on a way better user experience.
This is just the first preview of what this module will be in its Stable state.

Have you seen this module where it has a color picker that you can overlay on all screens and it can autodetect color, has a slider to adjust it, and a reset to default color option..

This looks awesome btw
10th June 2014, 10:01 PM   |  #6  
Woalk's Avatar
OP Senior Member
Thanks Meter: 386
 
148 posts
Join Date:Joined: Oct 2013
More
Quote:
Originally Posted by jkgao

Have you seen this module where it has a color picker that you can overlay on all screens and it can autodetect color, has a slider to adjust it, and a reset to default color option..

Yes, I've seen, and I like it. I'll look in a similar direction when programming the color picker, but I can't promise anything for now, I'm not that experienced as some others.

Quote:
Originally Posted by jkgao

This looks awesome btw

Thank you and all the others liking this, as long as the idea is that much appreciated, I'll keep working on it!
The Following 3 Users Say Thank You to Woalk For This Useful Post: [ View ]
10th June 2014, 10:12 PM   |  #7  
Senior Member
Thanks Meter: 163
 
634 posts
Join Date:Joined: Aug 2012
This looks good so far
10th June 2014, 11:43 PM   |  #8  
babalonius508's Avatar
Senior Member
Flag Austin
Thanks Meter: 116
 
307 posts
Join Date:Joined: Sep 2011
More
This is a great module thanks!

Sent from my Nexus 5
10th June 2014, 11:45 PM   |  #9  
Senior Member
Thanks Meter: 109
 
460 posts
Join Date:Joined: Feb 2013
MohammadAG said he will be updating his TSB module with the gradient soon. How will these two be different then?

But looks really great!
11th June 2014, 12:04 AM   |  #10  
Senior Member
Thanks Meter: 163
 
634 posts
Join Date:Joined: Aug 2012
Quote:
Originally Posted by JaeKay

MohammadAG said he will be updating his TSB module with the gradient soon. How will these two be different then?

But looks really great!

TSB is far superior in everything except the gradient, if they implement it this will need a lot of work to get at TSB's level

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xposed Framework Modules by ThreadRank