G'Day XDA,
Just wondering if anyone could please help me. I am trying to change the colour of the ring around the phone icon on the left hand side from this green colour to a different colour.
I have edited all the images in the drawable folders and edited all the xmls in the layout folders and values folder.
I suspect it might be smali code that I have to change, but that may as well be written in Swahili for me because it makes no sense at all.
I will have to deodex, edit and then reodex if it is in the smali folder which I am willing to do, but I want to change this colour.
If anyone can help I would greatly appreciate it.
Thanks.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Edit: See 3rd post for the smali file to edit in order to change the colour of the ring
daveyannihilation said:
G'Day XDA,
Just wondering if anyone could please help me. I am trying to change the colour of the ring around the phone icon on the left hand side from this green colour to a different colour.
I have edited all the images in the drawable folders and edited all the xmls in the layout folders and values folder.
I suspect it might be smali code that I have to change, but that may as well be written in Swahili for me because it makes no sense at all.
I will have to deodex, edit and then reodex if it is in the smali folder which I am willing to do, but I want to change this colour.
If anyone can help I would greatly appreciate it.
Thanks.
Click to expand...
Click to collapse
searching for it too and cant find any thing on xda. iam sure its something with phone.apk not a .png too if you find any solution please tell me
Ahmed hamouda said:
searching for it too and cant find any thing on xda. iam sure its something with phone.apk not a .png too if you find any solution please tell me
Click to expand...
Click to collapse
I managed to find it. I had to deodex the apk (I'm using a stock odexed rom) and in smali/com/android/phone I had to edit a file called IncomingCallWidget$Handle.smali . I searched for the smali code for the green colour on the screenshot which is -0x9e5eeb (Hex code is #ff61a115) and I just changed it to the smali code for the colour that I wanted to change it to. Then I recompiled, re-odexed and voila!
Related
Hi,
I'm working on making a theme for the Samsung Galaxy S and one of the things I've been looking to do recently is to change the text colour of the notifications in the pull down menu. So I edited some of the XMLs and it seemed to work...almost. Here's a screenshot below of what I've done so far for reference:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The media scanning entry here shows what I can only assume is black text where in fact everything else as far as I can see is the green colour I intended it to be [#ffa4c639]. I can't seem to figure out why this is. Here's a list of the XML files I've modified so far to get to where I am:
framework-res.apk
/res/layout/status_bar_latest_event_content.xml
SystemUI.apk
/res/layout/status_bar_call_ongoing.xml
/res/layout/status_bar_expanded.xml
/res/layout/status_bar_icon.xml
/res/layout/status_bar_latest_event.xml
Have I missed something out from this list? If you need me to include anything else here just let me know .
Any help would be appreciated. Thanks .
jonitfcfan said:
Hi,
I'm working on making a theme for the Samsung Galaxy S and one of the things I've been looking to do recently is to change the text colour of the notifications in the pull down menu. So I edited some of the XMLs and it seemed to work...almost. Here's a screenshot below of what I've done so far for reference:
The media scanning entry here shows what I can only assume is black text where in fact everything else as far as I can see is the green colour I intended it to be [#ffa4c639]. I can't seem to figure out why this is. Here's a list of the XML files I've modified so far to get to where I am:
framework-res.apk
/res/layout/status_bar_latest_event_content.xml
SystemUI.apk
/res/layout/status_bar_call_ongoing.xml
/res/layout/status_bar_expanded.xml
/res/layout/status_bar_icon.xml
/res/layout/status_bar_latest_event.xml
Have I missed something out from this list? If you need me to include anything else here just let me know .
Any help would be appreciated. Thanks .
Click to expand...
Click to collapse
THat covers the normal but alot of apps dont refer to those color codes and instead use ones defined by the app its self. Reason that dark menu themes will always have black on black issues with some apps.
I would find the apk that controls the media scanner and decompile it and look inside that
hello tell me how you use the editor XMLs!
usol38 said:
hello tell me how you use the editor XMLs!
Click to expand...
Click to collapse
Decompile and use notepad++ then recompile
Hey Guys,
I need some help finding a texture. I have been looking for it more than 5 weeks and I simply cant find it.
Take a look at those screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I am looking for the greyisch texture on the right part of the settings app. Since its being used in some 3rd party apps I thought it should be in the framework-res.apk and I changed a whole lot of images, but that texture never was found.
Since its not the first time I ask this question, just FYI of course i have the holo background themed and the dark dialog files too. My Power menu is black, but I just cant find it. I also talked to some themers over in the transformer forums, but sadly I couldnt get the answer I was longing for -.-
Here is my framework-res.apk
Framework-res.apk
Plz, if you can help me take a look at my apk and tell me what I am missing.
Thanks in advance
backgrounds like that arnt images
itll be in a xml somwhere
look in the general ics theme xmls in framework
or try looking in the xmls in settings
to speed it up
take a screnshot then find out the hex code for that colour using the eye dropper on photoshop or somthing then just search that code in any xmls it could be in
BroBot175 said:
backgrounds like that arnt images
itll be in a xml somwhere
look in the general ics theme xmls in framework
or try looking in the xmls in settings
to speed it up
take a screnshot then find out the hex code for that colour using the eye dropper on photoshop or somthing then just search that code in any xmls it could be in
Click to expand...
Click to collapse
Ok I have the hex code, its #212126
could you possibly guide me to in what folder the xml is? values etc?^^
Nordpolcamper said:
Ok I have the hex code, its #212126
could you possibly guide me to in what folder the xml is? values etc?^^
Click to expand...
Click to collapse
itll be in layout-(whatever pixle density your device is) folder
or
this may be wrong
but they may have it as a set colour so look in the values folder for styles.xml
actually try this one first as itll only take a second
I searched in systemui, framework and settings, but I didnt get a hit in any layout folders or value folders
sorry dno then
Help To Edit "SystemUI" contain "status_bar_expand.xml" status bar background color.
I use AOSP ROM, but its status bar notifications background has white color. So that its not clear. I need to know how do i change the notification background color/running apps status bar background color?
This is my notification issue.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now i unpack "systemUI.apk" into my desktop folder, but not clear how to edit "status_bar_expand.xml".
Anyone know it, please help me. I replaced another similar ics rom " systemUI.apk" with this rom, but its not work. My phone not boot up.
I need to edit "status_bar_expand.xml" so that i open it using "HxD" but how do i change its status bar running apps background?
Thanks in advanced.
i think its in SystemUI.apk in system/ not in framework
attack11 said:
i think its in SystemUI.apk in system/ not in framework
Click to expand...
Click to collapse
Thanks you friend. kamarush told me that and I checked the "systemUI.apk", but looks like i can't do anything. :crying:
android addicts said:
Thanks you friend. kamarush told me that and I checked the "systemUI.apk", but looks like i can't do anything. :crying:
Click to expand...
Click to collapse
Some time ago I was using Kamarush's MiniCMSandwich and I make background white... See values folder in decompiled SystemUI.apk and drawable-mdpi folder for background image (don't remember if it was just color or image).
android addicts said:
Now i unpack "systemUI.apk" into my desktop folder, but not clear how to edit "status_bar_expand.xml".
Click to expand...
Click to collapse
When you say you unpacked it, did you actually decompile the apk file or just unzip it?
reaper61616 said:
Some time ago I was using Kamarush's MiniCMSandwich and I make background white... See values folder in decompiled SystemUI.apk and drawable-mdpi folder for background image (don't remember if it was just color or image).
Click to expand...
Click to collapse
Thanks friend your help, ill try it.
Ticklefish said:
When you say you unpacked it, did you actually decompile the apk file or just unzip it?
Click to expand...
Click to collapse
I copied "systemUI.apk" into my desktop and change the file extension ".zip" is it OK? How do i decompile the apk?
android addicts said:
I copied "systemUI.apk" into my desktop and change the file extension ".zip" is it OK? How do i decompile the apk?
Click to expand...
Click to collapse
This way you don't make anything...
See 1st link in my signature and go to 'INSTALLATION'
looking for a way to customize the theme/create a new theme for a rom. been searching the forums, google, and have yet to find a simple tutorial explaining at least the basics on how to get this done. anyone know where i can go to started on this?
xDC23 said:
looking for a way to customize the theme/create a new theme for a rom. been searching the forums, google, and have yet to find a simple tutorial explaining at least the basics on how to get this done. anyone know where i can go to started on this?
Click to expand...
Click to collapse
well a basic theme is made up of 2 kinds of modifications.
1- changes to the images in the framework-res.apk, systemui.apk, and the com.htc.resource.apk
2- changes to .xml files withing those .apk files.
An easy place to start would be getting a program like photoshop, gimp, or paint.net and making changes to the images within those .apk. then seeing the changes on your device by pushing the edited framework back onto your phone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ziggy46 said:
well a basic theme is made up of 2 kinds of modifications.
1- changes to the images in the framework-res.apk, systemui.apk, and the com.htc.resource.apk
2- changes to .xml files withing those .apk files.
An easy place to start would be getting a program like photoshop, gimp, or paint.net and making changes to the images within those .apk. then seeing the changes on your device by pushing the edited framework back onto your phone.
Click to expand...
Click to collapse
i had somewhat just gotten started on working with the framework-res with gimp. guess ill keep going n see what i come up with
xDC23 said:
i had somewhat just gotten started on working with the framework-res with gimp. guess ill keep going n see what i come up with
Click to expand...
Click to collapse
i added photos above
and yea, thats basically what you do. (it tends to be time consuming)
.xml's are mostly for text colors.
ziggy46 said:
i added photos above
and yea, thats basically what you do. (it tends to be time consuming)
.xml's are mostly for text colors.
Click to expand...
Click to collapse
i know i came back n saw huge photos pop up!
haha and i know. i saw how many photos im going to have to edit just to change the battery color! D:
Hi
Just want to share this app
It can help newbies in finding common PNG in Android UI
Its an App of Newbie for the Newbies
DOWNLOAD HERE
SCREENIES
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You will see the text
message_bubble with red background
It means every png with message_bubble in name are responsible in message bubble
For awesome PNG guide also take a look in this thread:good:
[GUIDE][THEME] Where to find 9.png image
DONT INSTALL IT ON OTHER DEVICE WITH DIFFERENT RESOLUTION
YOU WILL LAUGH WITH LAYOUTS HEHE
IM USING PX NOT DIP SORRY HEHE
nice ...
but i didnt get it...how to use it ?
does it show only the name ?
anubhavrev said:
nice ...
but i didnt get it...how to use it ?
does it show only the name ?
Click to expand...
Click to collapse
Yes Sir only the name and Location of PNG
Great work bro...
Q: this app only search systemui, framework-res, mms.apk or any others?
Btw thanks for link to my thread
Sent from my GT-S5360 using Tapatalk 2
mariozawa said:
Hi
Just want to share this app
It can help newbies in finding common PNG in Android UI
Its an App of Newbie for the Newbies
DOWNLOAD HERE
SCREENIES
You will see the text
message_bubble with red background
It means every png with message_bubble in name are responsible in message bubble
For awesome PNG guide also take a look in this thread:good:
[GUIDE][THEME] Where to find 9.png image
DONT INSTALL IT ON OTHER DEVICE WITH DIFFERENT RESOLUTION
YOU WILL LAUGH WITH LAYOUTS HEHE
IM USING PX NOT DIP SORRY HEHE
Click to expand...
Click to collapse
great work will be very useful for new themers
finally,im waiting for this bro.thanks a lot:good:
nice! i need this one.
good start, i would really like if you can add all pngs that decka has posted in his thread! still awesome....