help with theming - Nexus One Q&A, Help & Troubleshooting

Hey fellas
I'm currently working on trying to replace the default android orange buttons, highlights, etc with the green HTC versions but I'm having trouble with a few files. I can't seem to figure out where the progress bar is located. I replaced the one within the framework-res folder but things like the market place and other apps still come up orange. Are these progress bars perhaps app specific instead of utilizing the one in the framework-res folder or is there another location that contains the progress bar and the highlights that come up when scrolling?
Any help would be appreciated as I'm not all that knowledgeable on android's ui structure.

DreamScar said:
Hey fellas
I'm currently working on trying to replace the default android orange buttons, highlights, etc with the green HTC versions but I'm having trouble with a few files. I can't seem to figure out where the progress bar is located. I replaced the one within the framework-res folder but things like the market place and other apps still come up orange. Are these progress bars perhaps app specific instead of utilizing the one in the framework-res folder or is there another location that contains the progress bar and the highlights that come up when scrolling?
Any help would be appreciated as I'm not all that knowledgeable on android's ui structure.
Click to expand...
Click to collapse
volume color is controled by the progress_horizontal.xml in the framework-res/drawable folder. there are 9 instances where I find the 08 00 00 1C hex string. The volume bar is divided into 3 sesctions from top to bottom. you need to change them to hex colors
also for market downloads
DownloadProvider.apk/res/layout/status_bar_ongoing_event_progress_bar.xml
You will need to learn how to do hex edits

That seems far more complicated than it needs to be.

Related

Help with theme port

Hey all, I just got done porting over one of Ted's older themes with the Akirah 1.6 template. So far, everything seems to be working great, the look and feel is there. The only thing I noticed is the clock up on the top bar is screwy. The bar is black and the numbers are coming up black so it is nearly impossible to see. This isn't a huge problem since I am running the flip clock with weather widget. But when I have something else open and want to check the time, I can't see it. My question is, how can I change the color of the clock numbers. Is this setting somewhere in an .xml file that needs to be copied over? Thanks in advance.
knowfear said:
Hey all, I just got done porting over one of Ted's older themes with the Akirah 1.6 template. So far, everything seems to be working great, the look and feel is there. The only thing I noticed is the clock up on the top bar is screwy. The bar is black and the numbers are coming up black so it is nearly impossible to see. This isn't a huge problem since I am running the flip clock with weather widget. But when I have something else open and want to check the time, I can't see it. My question is, how can I change the color of the clock numbers. Is this setting somewhere in an .xml file that needs to be copied over? Thanks in advance.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=535630
look on the last 2 or 3 pages for the most recent version. also did you copy over the progress_horizontal.xml from framework-res.apk/res/drawable so that the bars will not be orange.
Awesome thanks a lot David! That did the trick.
OK so I ported over as much of Ted's v1.2 for CM4.04 as I could. So far so good. I got all the colors back to how I want them. I didn't do anything with the progress_horizontal.xml yet. Everything looks good for the moment...except
When I get something on the notification screen (email, USB mount,USB debug etc) the bar they are on is black and the text is black. I thought this would be part of the 'ongoing' color change, but that is only for the ongoing notice bar. So how do I edit that area to change the text color there?
Thanks again for any help.
double post
knowfear said:
OK so I ported over as much of Ted's v1.2 for CM4.04 as I could. So far so good. I got all the colors back to how I want them. I didn't do anything with the progress_horizontal.xml yet. Everything looks good for the moment...except
When I get something on the notification screen (email, USB mount,USB debug etc) the bar they are on is black and the text is black. I thought this would be part of the 'ongoing' color change, but that is only for the ongoing notice bar. So how do I edit that area to change the text color there?
Thanks again for any help.
Click to expand...
Click to collapse
Set ticker to ffffffff and in framework-res.apk/res/layout/ edit status_bar_expanded.xml and status_bar_latest_event.xml to have the 6 hex codes after 08 00 00 1C be FF FF FF
Also for colorChangev3.jar ,set everything except clear to ffffff, and it staus_bar_latest_event.xml doesnt have 08 00 00 1C in it ,then check out status_bar_lastest_event_content.xml.

Change color of Button Text & General theming Questions

Does anyone know how to change the color of the text on buttons? Ive been messing around with my phone a lot and have somehow changed the color to white and now I cant see the text on buttons. I'm running kaos froyo but all of the framework-res has been replaced. I have tried colorchanger.jar but it doesn't control these colors and I cant seem to find what file it is?
I have found a great looking theme that has all it's graphics in the drawable-hdmi folder. The only thing I need to do to use them is resize them to same size as the corresponding file for our phone, correct? Basically spinner_black.png has to be the same dimensions as the original.
Also I want to take the spinner, wait, icon out of the NFL mobile app and use it in my theme. I have been reading a lot and trying to figure this out on my own. I am now able to read all xml files in plain readable English and am able to convert it back to binary. I still don't know what all the java means but I'm trying to learn that now. Does anyone know any easy way to find what I'm looking for or should I just wait and figure it out with the knowledge of more java.
For those who are interested the resources.arsc file found in framework-res.apk is where the control of the color of buttons is located. I dont know how to decompile it into readable form yet but that is what controls colors and size of images for some things. Colors for the notification bar is held is services.jar so at least Im making some headway. I will keep posting small things I find here to help anyone wanting to make there own themes.
P.S. My **** is starting to look really sweet
Did you figure it out?

[Q] ?s about themeing

I really want to theme my phone, is there any tips to make it easyier
an also theres no meny png files that im not sure what changes what, is there a guide of any sort for that or anything.
I got editing images down but im still gettin lost on changing things
an out of curioisy is there a good themer out there that would be willing to work with me personally so im not gettin mixed results
here ya go..this should get you a start
http://www.google.com/cse?q=how+to+...ub-2900107662879704:fs7umqefhnf&ie=ISO-8859-1
Great resource here
im not sure if im wording this right, but to theme an app u open that apps apk. to theme a widget u open that widgets apk. right?
So what all does framwork control?
still tring to get it togather what png's edit what on my phone
Essentially yes. Most of the app's .png's will be in the respective .apk, although if it's a Sense ROM then a lot is stored in the 'com.htc.resources.apk'
The 'framework-res.apk' holds all the files for like the notification area, the pull down menu, status icons, buttons, tick boxes, radio buttons etc...
The best way to familiarise yourself with it all is just to have a look through the image folders and see what you see.
not much luck, im gettin lost, so ill be back in a cuple days let u knw if i got it yet, if i cant come up with it, ill just make a list of things i want done an see where it goes.
Are you on a Mac or PC?
Keep in mind, you have to sign it to get it to install if you unpack it. After weeks of failed signing attempts (I still cant get them to sign) I found a way around this though...just don't unpack it Use 7zip on PC or I am on a Mac so I use Springy. Replace what you want and you are good to go.
Let me know if you need more help with this method. It isn't the way everyone else does things, but it works for editing things and making it what you want.
@reanger91878 I was just looking into start some theming and was trying to figure out if using a Mac put me at a disadvantage... but I guess since I found you I'll know who to ask if I run into a problem. So I guess I'm gonna get Springy and see what I can figure out. (I've never done this crap before).
:edit: boo it costs money, any free options? or will the non-licensed version work for me?
Alright
heres what i want done
I have NFX Sprint 2.31.651.7 STOCK Odex Update3.
Lock screen bar where its grey i want black
All screens under settings an phone options like device1 pic 1 want there its white to be black an the black letters white with a green boarder.
Device2 pic: want top an bottom where its grey to be black save with bookmark widget an calander app
Device3: white section black an the letter white
Device4: change all screens from white to black an white lettes an the grey buttons at the bottom to green same with clock, messages, music and photos
Device5: i want the ui buttons at the bottom like that but for it to be Phone in the middle app drawer on the left an add to home on the right
Invert all menus uder browser
so if some one would be willing to help with what xml an pic files i edit to do it, or some one helps me put it togather it would be awsome an id be very thankful
BuddahWolf01 said:
@reanger91878 I was just looking into start some theming and was trying to figure out if using a Mac put me at a disadvantage... but I guess since I found you I'll know who to ask if I run into a problem. So I guess I'm gonna get Springy and see what I can figure out. (I've never done this crap before).
:edit: boo it costs money, any free options? or will the non-licensed version work for me?
Click to expand...
Click to collapse
Using a Mac does not put you at a disadvantage per se...kind of, but there are workarounds
You don't have to use Springy, that is just what I use. The key is to find an Mac application that can open up a .zip file without extracting it, because once you extract, you need to resign (no big deal really, but for whatever reason my computer won't properly sign). I think the free version of Springy lets you open up a ROM of a certain size? Can't remember...but if you are editing a theme, they should open, because most are under 15MB. You can also just search around for other Mac apps that handle zip files and find one that does not extract. Let me know what you come up with and what you need help with...I gained much knowledge here, and will gladly pass on what I have gleaned.
DubsideWICKED said:
heres what i want done
I have NFX Sprint 2.31.651.7 STOCK Odex Update3.
Lock screen bar where its grey i want black
All screens under settings an phone options like device1 pic 1 want there its white to be black an the black letters white with a green boarder.
Device2 pic: want top an bottom where its grey to be black save with bookmark widget an calander app
Device3: white section black an the letter white
Device4: change all screens from white to black an white lettes an the grey buttons at the bottom to green same with clock, messages, music and photos
Device5: i want the ui buttons at the bottom like that but for it to be Phone in the middle app drawer on the left an add to home on the right
Invert all menus uder browser
so if some one would be willing to help with what xml an pic files i edit to do it, or some one helps me put it togather it would be awsome an id be very thankful
Click to expand...
Click to collapse
Big tasks Don't know if anyone will actually be able to do it for you, but check the resources above to get an idea where to start. It's the whole "give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime" idea.
Open up your ROM and check the framework-res.apk and see what you find...but you are looking to do more than just framework edits...
ranger61878 said:
Big tasks Don't know if anyone will actually be able to do it for you, but check the resources above to get an idea where to start. It's the whole "give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime" idea.
Open up your ROM and check the framework-res.apk and see what you find...but you are looking to do more than just framework edits...
Click to expand...
Click to collapse
Out of what all i want edited what is controlled by frame work an then would the rest be Apk files in the system app
my biggest problem is im not understanding what xml files change what an some of the pngs idk what they change
edit: I found post that said this, is that a pretty good way to descride it.?
app folder - This folder contains all of the apps that will be installed during an update or wipe. You will need to extract only the apks of the apps you wish to change the icon and graphics for.
-Launcher.apk - This file is in the app folder and contains the menu launcher tab, clock, google search widget, wallpapers and some other things.
framework - This folder contains framework-res.apk, this is where the bulk of your editing will take place.
When you open a apk you will see:
assets - This will contain images, sounds and other content used by the programs. Not always used!
META-INF - This contain the encryption data of the update.zip.
res - This folder contains all of the png and xml files. The xml files are used to format the UI, these can be used to change the locations of things on the screen. The xmls need to be unencrypted first. Depending on the apk there can be a bunch of folders under the res folder but we will only concentrate on the drawable ones.
-drawable - The png files in this folder are displayed wheather the keyboard is open or closed. The majority of the files are here.
-drawable-land - These are the files that will show when the keyboard is open. There won't be as many files in these folders. Most of the time the programmer will re-organize the layout with an xml file.
so basically everything is a picture that i want changed an xml files control text color an placement of where things are or what?,
im try my best to but thoes darn xml files are messing with me lol
To start, don't mess with the XML files. Just make changes to the PNG files. Once you get familiar with changing icons and status bar colors, then you can start messing with XML files. Let's say you want a different alarm icon.
Look in the DeskClock.apk under res/drawable-mdpi. You would find an icon(PNG) you want to substitute with, size it to the same size as ic_launcher_alarmclock.PNG, name it the same name and replace the original in the apk.
Use adb to push the apk back to your phone. I would then reboot and then enjoy your new icon.
Some icons will be in drawable-mdpi and some just in drawable. No need to change hdpi on our phones.
The majority of your status bar icons and base OS icons will be in framework-res.apk.
Sent from my HERO200 using XDA App
poashll said:
To start, don't mess with the XML files. Just make changes to the PNG files. Once you get familiar with changing icons and status bar colors, then you can start messing with XML files. Let's say you want a different alarm icon.
Look in the DeskClock.apk under res/drawable-mdpi. You would find an icon(PNG) you want to substitute with, size it to the same size as ic_launcher_alarmclock.PNG, name it the same name and replace the original in the apk.
Use adb to push the apk back to your phone. I would then reboot and then enjoy your new icon.
Some icons will be in drawable-mdpi and some just in drawable. No need to change hdpi on our phones.
The majority of your status bar icons and base OS icons will be in framework-res.apk.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Well said.
You can also do it on your computer...don't extract, just open, replace, close, put on SD and flash (after you nandroid...just in case )
iv been looking an looking, but cant seem to find a black stock theme
with stock htc green when a button is pressed, any one kno off a stock black theme i might be over looking
still havent figured ths out, an im having problems because im odexed?
DubsideWICKED said:
still havent figured ths out, an im having problems because im odexed?
Click to expand...
Click to collapse
Yes more than likely your only have trouble theme and odexed rom. Try a rom that is deodexed or I heard the have some deodex sripts that will do it.
ASimmons said:
Yes more than likely your only have trouble theme and odexed rom. Try a rom that is deodexed or I heard the have some deodex sripts that will do it.
Click to expand...
Click to collapse
Alright is there a performance or memory difference between odex an deodex
Does this same process apply with adw? If so, does that mean theming aosp and cm6 are equally as easy?
Sent from my HERO200 using XDA App

[Q] Modifying SystemUI

I am looking for some information and assistance with attempting to modify the SystemUI.apk or in creating a custom Theme for my HTC One M7 on Android 4.4.3 with Sense 6. I am running the ARHD Rom but I would like a method independent of using Custom ROMs or Xposed framework if possible, requiring root is fine. I have seen some packages that do some of this which contain a vrtheme folder in them but haven't been able to find a tutorial on building one of these and which files are for which icons.
I have tried modifying the background color in res/values/drawable.xml and in res/layout/status_bar.xml files to #ff000000 but the status bar still appears grey on the home screen. This seems to match with the theme I selected from the Personalize menu in Settings. It's my guess that somehow, these theme settings override the systemUI settings. So I would like a way to create my own theme to select which will hopefully also allow me to change the color for selected notifications and the like.
In addition to this, I have a set of icons for the status bar such as battery power, battery charge, wifi signal, cellular signal, mobile data quality, etc.. which I would like to use to replace the systemUI icons for these. However, there seem to be several versions of icons in various drawable folders. So if I could find out the requirements for these files (size, naming, location to replace them at) or if there is a way to replace them as part of a theme that is, again, independent of custom rom or xposed framework if possible.
If anyone knows of a tutorial that already exists for any of these things simply pointing me to that is answer enough, I just didn't have luck finding it when trying to search for it.

[instructions]Edit themes

As always, use at your own risk!
Quelle
BecauseI know I'm not theonly one whowants tounderstandit a lot,I'll showyoua way.Inspirationand ideasI got from this article.​ Huawei EMUI Themes gestalten und verändern [Teil 1]
What is needed:
- 7zip
- Sublime Text 3
Here we go. The prerequisite is time to rest and work accurately!
After you have installed the two programs are set to go.
Think up a folder where the issues come in here (.hwt). Always works only with copies!
Here you should create a subfolder with the topic name you now. There you unpacked the topic. Go into that folder and subfolders again sets each with the appropriate name. example:
com.android.settings = com.android.settings e
So you keep track of things.
The repeated her with the topic, which ye icons, etc you want to have.
Now comes the actual act. Take the issue of the want to edit it, in my case, Edward Returns.hwt and clicks it right (not extract!), Just select Open.
Next, locate the com.android.settings and open it again.
Here again open the res folder. Here delete the contents (click there and delete right).
Now we take the topic from which we want the icons. Also re-open and click through to the folder res. Now we select the content and push it, hold by the left, into the folder from another topic. We confirm the prompt with Yes. Now is the content in the other folder. Now we can both close, confirm the prompt with Yes and we already did it. Only on Mate7, select and look the topic. If you want, you can even assign a name. For the description.xml with Sublime Text 3 Open Notepad and then copy into the theme.
You can also use your own icons here on size, format and name eighth! It is also possible to take files from other themes if they do not exist.
Of course, goes even more, color etc, but you will still need to edit the corresponding .XML files.
Here are a few paths:
- Contacts com.android.contacts
- Gallery com.android.gallery3d: Here lies the Gallery widget.
- Player com.android.mediacenter: Here the player is widget.
- Settings com.android.settings: Here is what you see under settings and submenus.
- Links com.android.systemui: Here is what you see Status Bar / Benarichtigungen / Verküpfungen.
- Designs com.huawei.android.thememanager: Here is what you see under Themes.
- Clock / weather widget
com.huawei.android.totemweather / res
drawable-nodpi: Here are the wallpapers
drawable-sw360dp-xxhdpi: Here are the symbols
- Icons icons: This is what you see on the homescreen icons.​
​
Thanks , i would like to create a theme for me, a dark one, simple and clear but unfortunately, i really didnt understand the procedure Is it possible for you to make a step by step guide ? Taking the default theme and changing it ?
I need one with dark toggle background, and white toggles, the one selected blue or red.
Than the notifications background black and white text and icons.
on settings , dark background and white text + icons.
So sorry i dont understand , i would have tried to make some themes
Thanks !
For the font you need to edit the corresponding XML files. This is tedious. It is easier to look for the best ducks already in coarse threads and replace only the background, symbols etc is.
A Guide for the XML I'm not going to write, which is too complex, as there is also still required Chinese.
You can read here.
http://forum.xda-developers.com/mate-7/themes-apps/mod-thememessages-notification-panel-t2973486
Or here keeping an eye out for suitable topics.
http://www.android-hilfe.de/root-cu...7/654285-themes-der-grosse-themes-thread.html
Fooox1 said:
For the font you need to edit the corresponding XML files. This is tedious. It is easier to look for the best ducks already in coarse threads and replace only the background, symbols etc is.
A Guide for the XML I'm not going to write, which is too complex, as there is also still required Chinese.
You can read here.
http://forum.xda-developers.com/mate-7/themes-apps/mod-thememessages-notification-panel-t2973486
Or here keeping an eye out for suitable topics.
http://www.android-hilfe.de/root-cu...7/654285-themes-der-grosse-themes-thread.html
Click to expand...
Click to collapse
Thank you dude !
cool instruction
i also want to edit this specific theme Edward Returns for my Ascend p7, the theme is as of now only for Mate 7 it cant be found on p7 online themes, so i downloaded this theme and installed on my p7, everything is as it should be except the icons, the system Apps icons are well, but the apps that i have installed their icons dont fit in the icon frame of the theme, they are bigger than the theme icons so they come on top of the frame, but some of the Apps that have smaller icons i can see the icon frame of the theme behind them. So i wanna know if it is possible to resize the icons so they fit the icon frame? and how it can be done?
Thanks in advance :good:
Unpack theme, edit icons and then copy the unzipped not matter.
Does anyone know how to change the background color in Messeges? i have a really cool theme but there is some error in its Messages App the background is white while the timestamp in the left side is also in white color so i can read the time... i dont know which line in themes.xml should i change????
Unfortunately, I do not quite understand you. The background images are. Just as the symbols of the timeline. About the xml you lay down only the text color and the assignment.
can you help me of that modified whatsapp called WhatsMaap changing icon cause it looks so bad because the whatsapp icon is circle so there is a black or green background the app icon
this is the app dude : https://plus.google.com/communities/111022663413469989470
I need to modify the text colour of notifications into NOTIFICATION PANNEL.
Not the standard text you find below email notification or whatsapp notifications, just the ones poping up with text surrounded by circle and asking to close a particular application consuming too much battery, for example.
Actually these notifications text are in black and, since the background is black, they aren' t readeble at all, while the others notifications (i.e. whatsapp notifications, email notifications, etc. etc.) are properly in white (see picture attached).
Considering that I need to keep the background as black, I would need to modify the notifications text colour only, from black to....white, or light blue, or other which result more readable on the black background.
I tried to edit and modify the hwt file, as well as the XML file contained into the com.android.systemui file, but unsuccesfully.
Can you explain me which file and line I must modify in order to have fixed this?
None can help me??? Fooox1, Kolembo,Hannanzikrea, please assist.
I've edited the stat_sys_battery_15.png file on a theme, but every time my phone goes down to that level the battery icon reverts to stock. All other times the battery icon displays the custom one. Anyone know why and/or how to fix this?
Sent from my HUAWEI MT7-L09 using XDA Free mobile app
mighty_moose said:
I've edited the stat_sys_battery_15.png file on a theme, but every time my phone goes down to that level the battery icon reverts to stock. All other times the battery icon displays the custom one. Anyone know why and/or how to fix this?
Sent from my HUAWEI MT7-L09 using XDA Free mobile app
Click to expand...
Click to collapse
You should add another .png file with name stat_sys_battery_15_new.png and stat_sys_battery_7_new.png
Sent from my HUAWEI MT7-L09 using XDA Free mobile app
hannanzikrea said:
You should add another .png file with name stat_sys_battery_15_new.png and stat_sys_battery_7_new.png
Sent from my HUAWEI MT7-L09 using XDA Free mobile app
Click to expand...
Click to collapse
Okies, thanks. I thought they were extraneous and deleted them... Then forgot all about them lol
Sent from my HUAWEI MT7-L09 using XDA Free mobile app
My modified dark theme
https://drive.google.com/folder/d/0Bw1wBQi9rn3WMnc1cHQ0eVNUQTQ/edit
Here's my modified theme Dark Knight v3.2.9. Some bug fix for Honor 6.

Categories

Resources