yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 Questions & Answers] hahamuntz:
Since the Op 3 has an amoled screen i would like to have as much black on the screen as possible at all time. I have enabled the dark mode already, but am kinda disappointed that it doesnt affect any 3rd Party apps like the google apps.

Does anyone know a way to get all apps black on stock os?

Preferably without root.

I found a lot about layer apps, how exactly do they work?

The word layer makes me think that they just make an overlay. Wouldnt it be easier to search the code in the app that defines the color of elements and change the values there?

Or just intercept the commands for the display an switch any white and black?

So what do you think is the best way to get as much black on the screen as possible?

Thanks for any input :)
[OnePlus 3 Questions & Answers] Deleted member 6155102:
Use cyanogen mod and install deep darkness its all black on most apps using cm theme engine
[OnePlus 3 Questions & Answers] hahamuntz:
I was kinda hoping to be able to stick with OxygenOs, because I really like it. But I will think about it again, if I cant find another solution, thanks :)
[OnePlus 3 Questions & Answers] Deleted member 6155102:
Good luck:svetius:

---------- Post added at 01:01 PM ---------- Previous post was at 12:51 PM ----------

U can root oxygen is and use substratum instead

---------- Post added at 01:08 PM ---------- Previous post was at 01:01 PM ----------

Its available on play store
[OnePlus 3 Questions & Answers] hahamuntz:
Would this enabled me to use the deep darkness theme(which looks great btw)? As far as I understood from a quick google search it is like a hub for themes. Is that right?
[OnePlus 3 Questions & Answers] Deleted member 6155102:
Not the same theme but similar dark themes and substratum is like cm theme engine in which u can download and apply themes
[OnePlus 3 Questions & Answers] hahamuntz:
Guess I will root it later today :D
[OnePlus 3 Questions & Answers] Deleted member 6155102:
Here u go use this guide http://techfuzz.net/apply-substratum-oms-themes-android/

---------- Post added at 01:26 PM ---------- Previous post was at 01:21 PM ----------

Do have a backup before trying things good luck:svetius:
[OnePlus 3 Questions & Answers] hahamuntz:
Thanks alot. I will try that in the afternoon. The guide looks pretty useful.
[Sony Cross-Device Development Themes and Apps] serajr:
Only an "incredibly handsome human being" could elaborate such awesome mod!! And i'm proud to say that he is an old friend of mine!!

You rock bro... congrats!!!
[Sony Cross-Device Development Themes and Apps] Ticklefish:
Coming from The Master that's high praise indeed! Thank you! :D
[Sony Cross-Device Development Themes and Apps] devilmaycry2020:
Wow, great modding
[Sony Cross-Device Development Themes and Apps] XDA-User404:
The SGAce Guys are Back! :D
[Sony Cross-Device Development Themes and Apps] moonryder:
[MENTION=4315551]Ticklefish[/MENTION]

fantastic mod

Big thx for that (also for TMA and merged wifi and symbol mod) ;)
[Sony Cross-Device Development Themes and Apps] ninestarkoko:
Another gem from Ticklefish. Thanks!

Talented, helpful, and ....even handsome? 0.0
[Sony Cross-Device Development Themes and Apps] Ticklefish:
I'm sure I don't know what you're referring to...coughcoughcough..:angel:
[Sony Cross-Device Development Themes and Apps] ninestarkoko:
...modest too! Guess your daters list is already long XD

CLosing the off topic: your TMA tool is the most complete a i've found on the web in years. Very precise and understandable. Thx
[Sony Cross-Device Development Themes and Apps] xenreon:
Great work man!
[Sony Cross-Device Development Themes and Apps] Ticklefish:
Thanks mate. And thanks for all your help at the beginning of the year when I was trying to get this work last time! :highfive:
[Sony Cross-Device Development Themes and Apps] Thebear j koss:
Very cool. I always thought the navbar should act like the scrolling dock on Nova launcher and have more functionality to it. Nice job.

Our evolution now has gone the way of hate

A world evolved resolved in this stupid fate
[Sony Cross-Device Development Themes and Apps] Matt07211:
Nice mod dude. Just found out stuff likes this a few days ago. It all seems rather cool what your able to do.
[Sony Cross-Device Development Themes and Apps] DevilNeverSmile:
Very good :D

:good: Great

:D:D

[YOUTUBE]https://www.youtube.com/watch?v=5UE3azjD_ao[/YOUTUBE]
[Sony Cross-Device Development Themes and Apps] Ticklefish:
Looking good! :D

[YOUTUBE]5UE3azjD_ao[/YOUTUBE]
[Sony Cross-Device Development Themes and Apps] levone1:
[MENTION=4315551]Ticklefish[/MENTION] -

I've been experimenting with some of the other key codes, and it's been working out for the most part, but some of them don't do anything. For example, I put in the code from the page you linked for Settings. The constant value is 176. Here is my line:

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/ModSettings" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/settngs" android:scaleType="center" android:layout_weight="0.0" android:layout_marginEnd="@dimen/navigation_key_outer_margin" systemui:keyCode="176" />

It's the same as the others, except for the number, and the id and drawable references. Others, like volume, camera, directional, work fine. For Settings, and contacts and zoom, it compiles fine, and the icons show up on navbar, but pressing them does nothing. Is it because Sony codes are different? Is there a way to find out the right code? Or is it something else?

Thanks for excellent guide.

(BTW - 'settngs' in drawable reference is not a typo. That's the name of the file)
[Sony Cross-Device Development Themes and Apps] Kucharskov:
Amazing tutorial! Very handsome!
[MENTION=3989065]serajr[/MENTION], you should convert that to working xposed module with selectable and orderable buttons :D
[Sony Cross-Device Development Themes and Apps] whalesplaho:
[MENTION=4315551]Ticklefish[/MENTION] sorry for been off topic... I have tried to reduced tha gap between data icon and signal icon but all not working.... Any help please!

Thanks
[Sony Cross-Device Development Themes and Apps] Ticklefish:
It may be to do with the way Sony have put their rom together. Possibly.

If you look in "status_bar_expanded_header.xml" you'll find a line for the settings button. You could try using that and it might work.

You know me, always happy to help. Share your "signal_cluster_view.xml" and I'll take a look.
[Sony Cross-Device Development Themes and Apps] Fuilares:
Probably I'm blind but I don't see navigation_bar.xml in newest xperia home (10.2.A.2.10) app
[Sony Cross-Device Development Themes and Apps] Ticklefish:
It's in SystemUI.apk. :)
[Sony Cross-Device Development Themes and Apps] levone1:
OK, I'll check it out. I also wondered about entries in public xml, (0x00... Numbers)... The page you linked seems to indicate that there's some kind of conversion from those #s to a regular numeric value, for example the code for 'navigate next' shows 'Constant Value: 261 (0x00000105)'. I wonder if there's a conversion calculator for those numbers in public xml...
[Sony Cross-Device Development Themes and Apps] Ticklefish:
I'm no expert but I don't think those constant values are related to the hex values in public.xml.

You don't need a special calculator - 261 in decimal is 105 in hexadecimal. But I don't see how that would help in this instance.
[Sony Cross-Device Development Themes and Apps] Ticklefish:
Hmm..the data icon and the signal icon are tied up in one line:

<LinearLayout android:gravity="center_vertical" android:id="@id/mobile_signal_group" android:layout_width="wrap_content" android:layout_height="wrap_content" />

There's not much I can do with that unfortunately. My strength is in XML and this looks like a smali edit. You could try tracking down where in the smali the "mobile_signal_group" is and see if there's anything obvious that controls the spacing..
[Sony Cross-Device Development Themes and Apps] Ticklefish:
Try activating layout bounds from the developers settings and see if there's anything between the data icon and the signal icon.

If there is that's what you need to sort out. If not it might be worth considering redrawing the icons so they better match your needs.
[Sony Cross-Device Development Themes and Apps] panzerox123:
[MENTION=4315551]Ticklefish[/MENTION] Great mod man! I am in love with your mod and your handsomeness. Do you mind if I use this in my ROM?

EDIT: [MENTION=4315551]Ticklefish[/MENTION] , Can you change the default Music app when you press the button? Im okay with stock music, but my friend wants to use Spotify on his phone//
[Sony Cross-Device Development Themes and Apps] whalesplaho:
i got dis screenshot when i activated layout bounds.
[Sony Cross-Device Development Themes and Apps] Ticklefish:
Of course you can. :)

If you can link to this thread that'd be great.

You might be able to change the music app...if Android recognises Spotify as an app that can play music files. If not you have to go to a lot more effort and do a lot more modding.

So this shows a lot of blank space to the left side of the signal icon. The best thing to do is redraw them, eliminating that space.
[Sony Cross-Device Development Themes and Apps] panzerox123:
Thanks! Spotify isnt worth it ... :D

Edit: [MENTION=4315551]Ticklefish[/MENTION] a little bit off topic, but I didnt want to annoy you on pm. can you tell me how to compare public IDS? Ive been trying to follow a few guides to edit SystemUI, but all of them involve comparing public IDS, and I have no idea how to do it...
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Please can yhu help with dis buddy..... Thanks always!!!
[Sony Cross-Device Development Themes and Apps] Ticklefish:
This is for a smali mod, I'm guessing?

If you're adding smali files from somebody else, any hex references in the files will be wrong and you'll need to change them. Once all the right files are in your decompiled APK, recompile it and decompile it again. Then open "public.xml" and that'll have all the references for the ID's that you need.

All you need is an image editor and you can make the PNG files that you need. You can change the existing XML files but that gets complicated. I'll do a tutorial for editing XML in vector drawables but that won't be for weeks at least.

I suggest just making some PNG files and replacing the XML files with them.
[Sony Cross-Device Development Themes and Apps] panzerox123:
Thanks!
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Gonna love tha tut brov... I ll be expecting it but till den shud i upload my signal and data icon pngs for yhu to help? Aint good in image editing buddy!
[Sony Cross-Device Development Themes and Apps] levone1:
This is in framework public xml...
[Sony Cross-Device Development Themes and Apps] FunSucker:
WEW ! nice mods. I should try it :D
[Sony Cross-Device Development Themes and Apps] Ticklefish:
That won't be for a while I'm afraid. It's on my lists of things to do for this year but it's quite low down.

If you can share your signal PNG/XML files I can look at editing them for you. :good:

I'd recommend downloading a free graphics editor and experimenting with it, being able to make your own icons is a very useful skill. I use an old program called Pixelformer http://www.qualibyte.com/pixelformer/. It's old and not as powerful as a lot of other programs but I've found it quite effective.

Yes...yes, you should..;)
[Sony Cross-Device Development Themes and Apps] whalesplaho:
thanks buddy.... just not so good in graphics!!!

will try buddy.... i have attached my pngs!
[Sony Cross-Device Development Themes and Apps] Ticklefish:
lol nor am I! Have you seen the icons I've created in the past? They're terrible.... :)

I've edited the relevant PNG files and they're attached. Hope it helps!

---edit----

Hmm...so it turns out attaching white icons as individual pictures on a forum with a white background probably wasn't a good idea..

I can't zip up anything right now while I'm at work so you'll have to have them the way they are. I promise you the files are there!
[Sony Cross-Device Development Themes and Apps] whalesplaho:
i cant ask for more... yhu really gat my back buddy!

Godbless buddy...:good::highfive::victory:
[Sony Cross-Device Development Themes and Apps] Ticklefish:
Always happy to help :good:
[Sony Cross-Device Development Themes and Apps] laydog:
What wallpaper is that and does it change with the actual weather? If so, link plz :)
[Sony Cross-Device Development Themes and Apps] Ticklefish:
It's called Pixel Road: https://play.google.com/store/apps/details?id=com.fatpixelstudio.pixelroadfree
[Sony Cross-Device Development Themes and Apps] renzetti.s:
Great job from a great Master.

I will test it asap
[Sony Cross-Device Development Themes and Apps] levone1:
Compare spacing of linear layouts between yours and op's...
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Spacing? I dnt really think dats necessary cos i mod alot and it doesnt tally!!!
[Sony Cross-Device Development Themes and Apps] levone1:
OK, maybe not, but you also closed horizontal scroll view before adding mods... So the scroll only applies to main buttons.

(you probably know more than me, I'm just trying to help)
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Hahahahahaha... I wasnt tryna be rude brov, just saying tha space doesnt count. I guess dats where tha error lies, just saw it now as yhu mentioned cos i used tha code on OP before adding tha codes.

Thanks!
[Sony Cross-Device Development Themes and Apps] stang5litre:
[MENTION=4315551]Ticklefish[/MENTION] great mod bro!!!! Thanks for your hard work buddy. [emoji106] . You plan on adding a toggle for RC ? If not I'll try and work on it [emoji16]
[Sony Cross-Device Development Themes and Apps] levone1:
I didn't take it hard... Hey, BTW, did you see my post about how some of the keyCodes don't work, (https://xdaforums.com/showpost.php?p=70382792&postcount=16; https://xdaforums.com/showpost.php?p=70440063&postcount=36)? Do you know anything about that? I would like to add settings and zoom, but when I do, the buttons don't function. I'm wondering if it's just a different keyCode, or some other issue...
[Sony Cross-Device Development Themes and Apps] whalesplaho:
I havent tried but all tha codes added by OP works fine... Might be due to KeyCode!

Just dat tha icons looks too big!
[Sony Cross-Device Development Themes and Apps] whalesplaho:
i love tha icons... do dey change according to theme or are dey just colored? please share but i prefer white color!

my icons still big, i used tha small pngs yhu upload.
[Sony Cross-Device Development Themes and Apps] levone1:
Interesting... Must be padding / margins. I bet if you changed layout_height from fill_parent to a number, like maybe 36 or something, and keep the center scaling, it would work... Not sure why it's different on my phone, maybe screen resolution. What phone do you have?
[Sony Cross-Device Development Themes and Apps] -->:
are there any xposed version of this mod? :confused:
[Sony Cross-Device Development Themes and Apps] levone1:
Test this power button, see if any different. I increased the background, so the image is surrounded by more space.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
its better of buddy but it ll be nice a bit small & help with other icons too.... thanks buddy!
[Sony Cross-Device Development Themes and Apps] levone1:
I

Try this... If it's good, I'll see if I can get around to adjusting others today, or I'll just tell you what to do. Let me know if right size...
[Sony Cross-Device Development Themes and Apps] whalesplaho:
looking superb..... great!:highfive::victory::good:

please waiting for other pngs or mind teaching....
[Sony Cross-Device Development Themes and Apps] levone1:
All but power...
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Yipppaaaaaa..... Thanks a ton buddy!!!:highfive::good:
[Sony Cross-Device Development Themes and Apps] FunSucker:
I think the modPower is device on/off , not screen off haha. Anyway, thanks for this beautifull mod sir.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
When its click once, it locks but when long pressed den it opens power options! Nice icons, mind sharing?

Also clock background...
[Sony Cross-Device Development Themes and Apps] Ticklefish:
That's a bit out of my league right now. I understand more about smali than I used to but I'm still essentially a noob with the stuff. You're more than welcome to work on it if you want and I'll gladly help in any way I can. :highfive:

lol That's also beyond me. I do most of my modding on a PC that's not mine (shhh...) and I don't really have the opportunity to play with any code more complex than XML or Windows batch files.

It's not a hard mod to do, though. I know it may seem intimidating if you're not used to decompiling and recompiling APK files but it's definitely worth getting used to doing it. Once you know how to mod an app you can do practically anything you want to it!

Beautiful icons, my friend. :good:
[Sony Cross-Device Development Themes and Apps] FunSucker:
Yeah you right, the key can be tap & hold , my fault sorry lol.

Yes sure, i will share the icons, just be patient sir :D

EDIT :

This is only power & music icons.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
i got dis error while trying to compile...

\Desktop\AdvancedApkTool\3-Out\SystemUI.apk\res\drawable-xxhdpi-v4\powerwhite.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
warning: string 'status_bar_settings_airplanemode' has no default translation.
warning: string 'status_bar_settings_autorotate' has no default translation.
warning: string 'status_bar_settings_autosync' has no default translation.
warning: string 'status_bar_settings_mirroring' has no default translation.
warning: string 'status_bar_settings_mobile_data' has no default translation.
warning: string 'status_bar_settings_settings' has no default translation.
warning: string 'status_bar_settings_wifi_hotspot' has no default translation.
[Sony Cross-Device Development Themes and Apps] panzerox123:
It's normal. Don't wprry... :)
[Sony Cross-Device Development Themes and Apps] whalesplaho:
it is not compiling or should i copy using 7zip without decompiling?
[Sony Cross-Device Development Themes and Apps] levone1:
There must be something missing from your log posted above. What does it say after the 'no default translation' warnings?
[Sony Cross-Device Development Themes and Apps] renzetti.s:
Problem is powerwhite.png

if help push thanks
[Sony Cross-Device Development Themes and Apps] Ticklefish:
That's a warning, not an error. Warnings don't usually stop the file from recompiling. Is there anything else in your log?

LibPNG problems are rare but not impossible. It's usually fixed by just replacing the PNG file in question.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Thanks folkz... I ll recompile and see cos there was an error too tho!
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Compiled okay now.....
[Sony Cross-Device Development Themes and Apps] panzerox123:
That's not an error, a warning. Happens with every APk. There is no defeat translation available is normal. It will compile and work normally
[Sony Cross-Device Development Themes and Apps] ryandxter:
finally there is method to replace deprecated xposed modules to control music

will try
[Sony Cross-Device Development Themes and Apps] renzetti.s:
Which was the problem?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
i was tryna change tha battery icon too.... but i got tha error first so didnt know!
[Sony Cross-Device Development Themes and Apps] Beetle84:
N issues

Hi [MENTION=4315551]Ticklefish[/MENTION]

I am trying to use this mod on latest N update for X performance, but once I decompile my systemui.apk my navigation_bar.xml is completely different, its missing 90% of the lines you show in your example from your z3 compact. Ive attached a zip of my f/w and systemui.apk's, could you have a look when you have the spare time and let me know where to start? Im only trying to install skip/play/back icons for music app. Thanks

https://mega.nz/#!qN5znIiJ!YmcGkGYFvJoTz46EylTOGmT_lOOVPuD0zz4Lv2_f0vU
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Mind sharing yur navigation_bar.xml please... I can take a look for yhu! Please upload here in zip format.
[Sony Cross-Device Development Themes and Apps] Beetle84:
Cheers mate, here you go: https://mega.nz/#!XBYwiL6R!KV7j5xOVBwEp3ihWK5J8p1CqHGbIDhl-VkDIue20tSw
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Please upload here buddy.... Xda!
[Sony Cross-Device Development Themes and Apps] Beetle84:
[MENTION=4471890]whalesplaho[/MENTION] sorry bro, didnt read it properly
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Just like tha way dey made battery icon irreplaceable on 4.4+

Maybe [MENTION=4315551]Ticklefish[/MENTION] can help or do yhu have navigation_inflater in layout folder.
[Sony Cross-Device Development Themes and Apps] Beetle84:
Yeah mate theres a navigation_inflater in there, thats all the Nav xmls in there
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Check navigation_layout.xml buddy... Dahs tha answer!

If yhu check navigation_inflater, yhu ll see dah navigation_layout.xml was referenced to.
[Sony Cross-Device Development Themes and Apps] Beetle84:
Hey mate, these are the unmodified xml's, the last zip I tried to add lines to navigation_layout.
[Sony Cross-Device Development Themes and Apps] Beetle84:
thanks for you help, i replaced code with yours exactly, compiled fine, no change to navbar.

i then recompiled with first layout width with 1080.0px, recompiled and no change to navbar.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
as tha OS goes higher den modding becomes tasking.... hope [MENTION=4315551]Ticklefish[/MENTION] will help!
[Sony Cross-Device Development Themes and Apps] Ticklefish:
In that case we need to track down those id's I mentioned previously. Do you have any other XML files with those names?
[Sony Cross-Device Development Themes and Apps] Beetle84:
Hi, I will have a really good look tomorrow, I had a quick look through the folders and theres a couple of nav_bar_tuner.xml's scattered in the drawable folders too, sorry I didnt reply sooner, back to work and real life and all the rest blah blah blah.
[Sony Cross-Device Development Themes and Apps] Upquark:
The rom I'm currently using has this mod integrated. Although I can understand many like having more buttons available in the navigation bar, I still prefer the old, default one. Is there an easy way to disable the mod?
[Sony Cross-Device Development Themes and Apps] Ticklefish:
Real life is annoying, isn't it? :D Those XML's in the drawable folder are either going to be vector drawables (images rendered by code) or frame animations - they are unlikely to be what we're after. Those will probably be in a layout folder.

You do? Nice, it's good to see people using my work! ;) Which rom are you running?

To get rid of the scrolling nav bar you will need to edit the XML file in the SystemUI.apk and get rid of the HorizontalScrollView.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
[MENTION=4315551]Ticklefish[/MENTION] i wanna mod Nougat nav bar but im lost...... i cant even add menu bar!!!

dis are nav bars xml....