[Q] Transparent navbar/prism smali code edits - One (M7) Q&A, Help & Troubleshooting

I have looked high and low for the exact coding to use for the prism.apk to change the dock to transparent.
I am aware of Xposed , but would like to know where the code is to change in the actual apk please.
I have seen the transparent launcher mods so i know it can be done in smali
Anyone please?
Thank you in advance

Related

[Q] Help with resolving mis-aligned text.

Another user on this forum is having an issue with mis-alligned text. Originally they felt it was an issue with malformed .9.pngs, but I have replaced all the pngs in the framework with stock pngs and the issue is still ongoing.
Question I have is what controls the text alignment (an xml in framework? or elsewhere such as services.jar)
I have recently learned how to theme the Andoid OS. I understand how to de-compile an apk, make xml edits (color edits using word pad), re-compile the apk. (replace the android-manifest and meta folders from the recompiled apk with the originals).
I know how run baksmali on services.jar make the appropriate edit to change the clock color. (as far as the services.jar, That is truely all I know).
I would like like to help this person, but need a sense of direction as to where to begin looking to fix.
Any and all help regarding this would be greatly appreciated.
Below is a link to the original thread they posted with screen shots of the mis-aligned text.
http://forum.xda-developers.com/showthread.php?t=991105
Update:
Had him test another framework-res.apk and services.jar file from another rom and he still has the same results with mis-aligned text.
Where else should I look?
This is truely out of my realm, but I am always interested in learning, so I would like to see if I can come to the resolution.

[Q] Touchwiz Quickpanel Text under Icons help

I just started messing around with making themes. I know how to modify the xml, png, and .9.png files; but am having problems with the text under the quickpanel icons (ie. wifi, bluetooth, gps, vibrate, orientation).
What files do I need to modify to change the text color under the quickpanel icons? I'm assuming it's in the twframework-res.apk, but I looked through all the xml files and didn't see where to change the text color.
If anyone has some insight, please advise. Thanks
mod777 said:
I just started messing around with making themes. I know how to modify the xml, png, and .9.png files; but am having problems with the text under the quickpanel icons (ie. wifi, bluetooth, gps, vibrate, orientation).
What files do I need to modify to change the text color under the quickpanel icons? I'm assuming it's in the twframework-res.apk, but I looked through all the xml files and didn't see where to change the text color.
If anyone has some insight, please advise. Thanks
Click to expand...
Click to collapse
I have done some themeing before, and although I never have changed the text you are asking for and dont know where it is, I can tell you that the first thing you need to do is. Decompile the framework. This is because many xml's are hidden in the apk format. Searxh for apk manager to do so.
After decompiling look in twframework-res\res\layout\status_bar_expanded.xml
Each item will have something like android:textColor="@color/tw_colorXXX"
Then look for that in twframework-res\res\values\colors.xml
joeshmoe08 said:
I have done some themeing before, and although I never have changed the text you are asking for and dont know where it is, I can tell you that the first thing you need to do is. Decompile the framework. This is because many xml's are hidden in the apk format. Searxh for apk manager to do so.
Click to expand...
Click to collapse
I know how to decompile and modify the xml files and I use apktool (apkmanager is just a wrapper for apktool).
CuriousTech said:
After decompiling look in twframework-res\res\layout\status_bar_expanded.xml
Each item will have something like android:textColor="@color/tw_colorXXX"
Then look for that in twframework-res\res\values\colors.xml
Click to expand...
Click to collapse
I already modified the status_bar_expanded.xml colors and still the text doesn't show up correctly (changed all colors to #ffffffffff).
Maybe it's not the text that is the problem but the png background, but changing the status_bar_background.9.png didn't fix it.
Here's the screeny of what I am trying to fix.
I've seen that before. LOL What do you want it to look like?
You sure you didn't modify the text in \res\values\strings.xml?
CuriousTech said:
I've seen that before. LOL What do you want it to look like?
You sure you didn't modify the text in \res\values\strings.xml?
Click to expand...
Click to collapse
the text in strings.xml is correct. I just want the text to show
Change them all back to the orginal in status_bar_expanded.xml which should be android:textColor="@color/tw_color001"
That just made the text black, any other suggestions?
I think it might actually be the tw_quick_panel_black_bt.png - I'll modify the png and see if that helps.
tw_color001 should be white.
The background for it is status_bar_header_background_01.png which is where the text is drawn over.
I got it. It was the status_bar_extended.xml, but it was the size dpi which was causing the problems. Thanks for all the help. See screeny
+2 thanks
Can someone tell me how to change the notification text color? What is its corresponding value in the XML files? Thanks.
Just did a search. Looks like you have to get into the classes.dex in services.jar and modify StatusBarIcon.smali
http://forum.xda-developers.com/showthread.php?t=549309
Oh, or did you want the notifications in expanded?
In twframework-res\res\layout\status_bar_expanded.xml look at the lower section where you'll see android:textColor="#ffffffff" which is hex for white (ARGB), about 3 times. Leave the first FF alone. That's alpha channel.
CuriousTech said:
Just did a search. Looks like you have to get into the classes.dex in services.jar and modify StatusBarIcon.smali
http://forum.xda-developers.com/showthread.php?t=549309
Oh, or did you want the notifications in expanded?
In twframework-res\res\layout\status_bar_expanded.xml look at the lower section where you'll see android:textColor="#ffffffff" which is hex for white (ARGB), about 3 times. Leave the first FF alone. That's alpha channel.
Click to expand...
Click to collapse
The text in the expanded notifications panel. Thanks! Exactly what I was looking for.

[QUESTION] Theming Transparency GB Sense 2.1

Hi all,
I'm hoping that someone can help to get me started as I wish to start making more Mods and a theme without relying on UOT.
I am looking to learn how to make things within Rosie and SystemUI transparent such as Quick Settings and App drawer.
I've had a go with this theme by m-deejay. I have managed to make the notifications background transparent but not the bars within them or the quick settings.
I've tried to adjust the labels at the bottom by editing
Res, Drawable, status_bar_tab_off.9 and status_bar_tab_on.9 .pngs
but that doesn't seem to be working for me.
Any help from any themers to get me started will be much appreciated and credit given if and when I can finally get something up and working manually.
I am using photoshop and have avabox2 for signing etc
Thanks in advance
Bump for help
Mate you have to learn using apktool or apk_manager (it's easier - search here in xda to download)...
Just de-compile the Default SystemUI.apk and f.e take also a SystemUI.apk that you know it has transparency, rename it to SystemUItrans.apk f.e and de-compile it too...
Then use WinMerge application (it's for windows) and compare all folders of the 2 systemUI (drawable, layouts, values, etc) and see which .xml files are different...
Then duple click on .xml files that is with red color on WinMerge, and see the differences inside them...
If you read the lines that are diferent you will figure out what you want to change...
In SystemUI f.e there is a xml file with the name quick_settings.xml and has a line which write:
ScrollView android:id="@id/scroll" android:background="#66000000" android:fadingEdge="none" android:layout_width="fill_parent" ...
The android:background="#ffffffff" means that the background will be white... So for make it full transparent you have to change it to android:background="#00000000"
Also compare the smali folders that are created while de-compiling...
this is an example i gave you....
I use for decompile, recompile and zipalling the apk_manager4.9
Here is the Thread of apk_manager... So download it and if you have question ask there and the guys will help you more....
i found this thread a bit of help .
http://forum.xda-developers.com/showpost.php?p=9978779&postcount=62
altho it dont help much with rosie but i have managed to get rosie transparent in my theme from help in this thread.
http://forum.xda-developers.com/showthread.php?t=1078621&page=3
hope that helps mate
and what kalagas has said also i learned loads that way also
Kalagas, you are a gentleman and a scholar
Ajthescot, many thanks for the links.
If I ever get to the bottom of this theming then you guys will surely get credit and thanks for the help and advice.
Much appreciated

Status bar Drop Shadow

Hello. I'm editing a theme for cm7 / tmobile theme chooser, and I'd like to know how do I make the default status bar drop a slight shadow as seen in the attached screenshots.
I guess the png for it is title_bar_shadow.9.png, but I can't find the reference to that file anywhere, not even by decompiling existing themes and reversing the process.
Can anyone point me in the right direction, please?
I've moved over to MIUI so I apologize if I lead you in the wrong direction but, if I remember correctly, the title_bar_shadow.9.png image is the one you're looking for. Should be found in framework or systemUI.
Hope this helps.

[CLOSED] How to change font colors?

Hey Guys,
i`m searching for a method to change my font color.
As i posted in the "Show your wallpaper sticky" my Wallpaper has a white Background.
I also made the status bar and the dock fully transparent.
So it is impossible to read the clock or something else what is written in white...
Hope someone could give me a kick in the right direction.
Greets Django
Changing the native font colour involves pulling your framwork-res.apk, decompiling it, editing the hex values in XML, recompiling it and then pushing it back to the phone. I'm sure if you Google "change font colour android" you'll find a few guides.
Alternatively, it would be much easier to just use a different background
hi postfatal,
thanks for your response.
i googled the entire morning and this is really the only solution?
*sigh*
so i have to learn a bit more about our beloved android system
i wouldn't change my wallpaper because after 3 years i found a nice new one
So i give it a try and make the impossible possible ;P
Greets Django

Categories

Resources