Pressed application background. Which file and where is it? - Android Themes

Hello,
I just wanted to change my 'pressed application background' which is an orange (in my case) rounded rectangle behind your app-icon when you press it.
Somewhere on XDA (cant find the source again:-/ ), I found the hint that I need to change 'pressed_application_background_static.png' or 'focused_application_background_static.png', each located both in /res/drawable-hdpi and /res/drawable-xhdpi in framework-res.apk.
So i replaced those 4 png's (2 in hdpi, 2 in xhdpi) by differently colored ones, recompiled, everything ok, but after reboot nothing changed!
Supposing I haven't found the correct PNGs yet, I want to ask where the correct PNGs are located?! I hope someone else faced this problem before me who can help, thanks in advance!
I'm running the latest MIUI v4 on a HTC Leo.
best regards, mo

Related

[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

How can I swap ?

Hi all,
I've made my own "theme" (the word is a bit exaggerated) by using DHD-PowerControl-1.72.405.2_notxt and cook it with UOT.
The result is in blue in the screen below.
But, I'd like to swap it with the one made with the one made by he_stheone64 in PowerNotificationWidget2.2.1 (see the red rectangle in screen below).
The problem is that PowerNotificationWidget2.2.1 changes other things I wouldn't like to be scrashed (like icons above or non-transparent carbon-look background below).
Then I tried to do the same of what I did for the white one : cooking framework-res.apk. But I had the long error log you can also see below.
So, could someone help me to do that swap and perhaps if possible, make the little bars below each toggles a bit more green than blue.
Thanks for your help,
Lim.
I'm working on something similar as well - a notification bar power control, based on the latest 2.1.1 services.jar and the customisation app. The idea is that it's as close to stock framework as possible, so that it can be uploaded to UOT (or otherwise themed with metamorph etc.).
This is mainly just a learning exercise for me in decompiling and modifying files, but if it works I can share it. I find the toggles show up better on a black background than a white one, so hope to include black background as an option - though I think that might break compatibility with UOT kitchen, so there might have to be 2 versions. It's a work in progress, though, depending on my free time, so I can't promise when it'll be done. I'll post here if I get it working though!
preacher65 said:
I'm working on something similar as well - a notification bar power control, based on the latest 2.1.1 services.jar and the customisation app. The idea is that it's as close to stock framework as possible, so that it can be uploaded to UOT (or otherwise themed with metamorph etc.).
This is mainly just a learning exercise for me in decompiling and modifying files, but if it works I can share it. I find the toggles show up better on a black background than a white one, so hope to include black background as an option - though I think that might break compatibility with UOT kitchen, so there might have to be 2 versions. It's a work in progress, though, depending on my free time, so I can't promise when it'll be done. I'll post here if I get it working though!
Click to expand...
Click to collapse
Hi Preach,
So far, I managed to swap the toggles png's (taking png's from he_stheone64's file) but no way to find and put the black background.
I would also like to have the little bars below more green than current blue. For this I guess it's in an xml file, but can not find which one (and how to do).
Liamstears told me there's was a mistake he_stheone64 could fix, but it's seems not to the case. He also told me he could help me to fix that, but he certainly doesn't have time.
I don't know in which direction to go but if you have any idea, I would be happy to make tries with you.
Good luck
I made for myself something like this It is a little bit tricked but effect is like on screen. This mod has no transparency in notification but it looks as STOCK as possible cause i prefer stock one
To change colour of those indicators u use app (which is installed with PowerMOD) U got there color picker. With bacground it`s not so easy thats why i tricked it a little removed bacground of toggles (made it transaprent) and set up whole notifiacion with chosen background and effect U see is below:
Will post this mod in my thread tommorow if somebody will need this
Krzysiec said:
I made for myself something like this It is a little bit tricked but effect is like on screen. This mod has no transparency in notification but it looks as STOCK as possible cause i prefer stock one
To change colour of those indicators u use app (which is installed with PowerMOD) U got there color picker. With bacground it`s not so easy thats why i tricked it a little removed bacground of toggles (made it transaprent) and set up whole notifiacion with chosen background and effect U see is below:
Will post this mod in my thread tommorow if somebody will need this
Click to expand...
Click to collapse
Hi Krzysiec,
This is exactly what I'm looking for (and probably the same for Preacher65).
As I can see, your framework-res.apk is cookable in UOT (battery).
Below notification, you manage to keep carbon background instead of white background, is it made with the same tweak ?
Tell us when you post this mod
I`m afraid my mod isn`t compatibile with UOT ... only leamstear framework-res.apk is cookable in UOT. All thing I do is manually changed by me. It is the easiest way for me Guys cook in OUT icons U want and than manually mix them with for ex. my mod. Thats easiest way I make all my icons/mods/ manually automat will never generate icons I like Will post it as soon as possible. The trick is I set up ONE bacground for notification and Power mod ... this is only ONE SINGLE background ... PowerMod background is transparent so wee se background from notification (which is carbon one) So when U slide up notification area U see how background moves behind Toggles But in static position it looks like on the screen (for me PERFECT and AS STOCK AS POSSIBLE)
Krzysiec said:
I`m afraid my mod isn`t compatibile with UOT ... only leamstear framework-res.apk is cookable in UOT. All thing I do is manually changed by me. It is the easiest way for me Guys cook in OUT icons U want and than manually mix them with for ex. my mod. Thats easiest way I make all my icons/mods/ manually automat will never generate icons I like Will post it as soon as possible. The trick is I set up ONE bacground for notification and Power mod ... this is only ONE SINGLE background ... PowerMod background is transparent so wee se background from notification (which is carbon one) So when U slide up notification area U see how background moves behind Toggles But in static position it looks like on the screen (for me PERFECT and AS STOCK AS POSSIBLE)
Click to expand...
Click to collapse
This would be good for me as well
MOD is up in my thread Take a look into OTHER MOD SECTION at the bottom of 1st post. Cheers!
Krzysiec said:
MOD is up in my thread Take a look into OTHER MOD SECTION at the bottom of 1st post. Cheers!
Click to expand...
Click to collapse
Ok I downloaded your PowerNotificationMod by Krzysiec but it doesn't look like your screen above (see mine below, where there is the carrier and the DesireHD mark at the bottom).
And I have to find a way to include the icons (see other screen) I cooked from UOT which has more than battery icons..
LOL Wrong file Will fix it in a minute
About icons... just pull them off from framework-res U cooked in UOT and drag and drop into my framework For battery U must replace all needed files and three compiled xml if U got different animation than BASIC from UOT.
Krzysiec said:
About icons... just pull them off from framework-res U cooked in UOT and drag and drop into my framework
Click to expand...
Click to collapse
Ok, for this, I can search for all the considered icons by comparing with the one shown in UOT and I guess they will crush over the existing stock one.
Is that right ?
Krzysiec said:
For battery U mast replace all needed files and three compiled xml if U got different animation than BASIC from UOT.
Click to expand...
Click to collapse
I'm not sure to understand what you mean.
My battery icons are the one you see in my previous screen called "Version B, White numbers". So I think this is the basic from UOT. Aren't they ?
If not what are these 3 compiled xml and from wher do I take them ?
EDIT : I saw that you updated your thread at 14:55 (CET) so I thought you updated the file. But it's still the same look... Perhaps you didn't update ?
Fixed version (i hope so) is UP try it out
About icons...
Unpack framework-res.apk and go to res/drawable-hdpi(-v4) folder. U got there every signle icon. Names of them are the same as mine (they must be the same to sytem recognize them via xml)
For battery:
U will see plenty of icons in res/drawable-hdpi(-v4) folder too... as many icons as percentage in Your battery U will see it when U unpack Your framework.
About XMLs U need to pull three xmls from Your cooked UOT framework from res/drawable:
-stat_sys_battery.xml
-stat_sys_battery_charge.xml
-zzz_stat_sys_battery_1.xml
Those files are responisble for whole battery indicator. Just replace them with Your cooked one.
EDIT: should be fine now :/ YEs it was updated than ... Hmmm strange ... Wait a sec.
It must work: http://dl.dropbox.com/u/17626742/Programy/PNotificationMODKrzysiec.zip
Checked graphic and there`re no more graphic like on screen (they were there at start but not now).
If in some way U won`t get it to work... Install my PureBlack skin and use it ... This will DEFINITELLY change those graphic. But How i said there no way to still have those hraphic there. Will check again for sure.
THIS ONE MUST WORK!
There`s no ..... way to not work
http://dl.dropbox.com/u/17626742/Programy/PNotificationMODKrzysiec.zip
LOL, I promise I took the link from your post above, put the file in my DHD, flash it in CWM, reboot and took this picture below
EDIT : I cleared my cache, DL again, and same file seems to have different amount of bytes. I try again.
Just fresh flash (16:07) on mine and it looks like this (default skin):
I don`t know what`s wrong than :/ Maybe U flash all the time the wrong file which have the same name?
See my EDIT above : same name of file => so kept in FF cache.
Cleared cache, last file a bit bigger. Flashing now.
Limerick_fr said:
See my EDIT above : same name of file => so kept in FF cache.
Cleared cache, last file a bit bigger. Flashing now.
Click to expand...
Click to collapse
That`s definitely reason FF tought it was the same file so didn`t downloasd it again. CHROME makes it too saomtimes.
Yep this is great now. Thank you very much !!!
I'll have to focus now on how to put the icons from UOT now... I'll show you the result when I will succed... if ever
Limerick_fr said:
Yep this is great now. Thank you very much !!!
I'll have to focus now on how to put the icons from UOT now... I'll show you the result when I will succed... if ever
Click to expand...
Click to collapse
Extract two framework-res.apk from my and UOT... Put them in different folders. Than pull via WinRAR /res/drawable-hdpi-v4 from both (in their folders) Than mix graphic U want from Yours into mine and but them back into framework-res.apk of mine ... U don`t have to sign anything. After mixing put "new" frameowrk-res.apk into my zip and viola!
Of course i`m talking about statusbar icons only because if U change whole folder U won`t get effect like on screen U must see te structure of drawable-hdpi
If U like my battery animation do not change xmls i mentioned earlier If U don`t like it change them from Your UOT framework
PS. Now U understand HOW I DID THE TRICK with carbon background in my mod
Krzysiec said:
Extract two framework-res.apk from my and UOT... Put them in different folders. Than pull via WinRAR /res/drawable-hdpi-v4 from both (in their folders) Than mix graphic U want from Yours into mine and but them back into framework-res.apk of mine ... U don`t have to sign anything. After mixing put "new" frameowrk-res.apk into my zip and viola!
Of course i`m talking about statusbar icons only because if U change whole folder U won`t get effect like on screen U must see te structure of drawable-hdpi
If U like my battery animation do not change xmls i mentioned earlier If U don`t like it change them from Your UOT framework
PS. Now U understand HOW I DID THE TRICK with carbon background in my mod
Click to expand...
Click to collapse
Thank you so much.
I'm on many things at the same time.
I'll do it when more quiet tonight.
Yes I'd like to keep the circle battery I had because i think we see more easily...
Preacher65 will also be happy of all that
I`m glad I could help U guys Some people helped me ... I helped some people... thats real comunity

[Q] Theme/Skin modification: I need a little help.

I'm using one of the stock HTC Sense 2.5 skins as a basis for a custom skin. I'm using apktool to access the files and build my updated apk file. I've found a lot of the the things I want to replace, but I'm a bit stumped on where to find some of the button backgrounds and background panels (I don't see anything that looks exactly like these in any of the subfolders for the skin I'm working with). I'm attaching two screen shots with big orange arrows pointing to the specific parts I'm looking for. I'd greatly appreciate it if anyone can point me to where these items are located and what they are called.
Thanks in advance for any help anyone can offer.
Id say look in the htccamera.apk, framework, settings, htc res or system ui! Its so hard to find the correct png from all the different locations? Ive been in & out of the Rom frameworks & have modded my phone ui but those ones dont ring a bell sorry mate
Thanks. I hadn't thought of checking any of those files since these specific items seem to change according to the skin. I'll dig through them (especially the framework one, and see what I can find).
I am also interested in modify icons (specialy on my home screen) and cud you tell me what soft to use? Tku in advance
aiglegris91 said:
I am also interested in modify icons (specialy on my home screen) and cud you tell me what soft to use? Tku in advance
Click to expand...
Click to collapse
look in the folders like i said in post #2 plus try settings, rosie, ect.... you can mod almost any apk & png files, just dont mod the htc_ime.apk! Anything goes wrong.... just reflash the rom before you had problems

Changing statusbar background image

Hi, i need help with changing statusbar background image.
I pulled SystemUI.apk, decompiled, changed images
\SystemUI\res\drawable-hdpi\status_bar_background.9.png
and
\SystemUI\res\drawable-hdpi\statusbar_background.9.png
but it wont let me compile it again, it gives some errors...am i doing this right?
kristjanp said:
Hi, i need help with changing statusbar background image.
I pulled SystemUI.apk, decompiled, changed images
\SystemUI\res\drawable-hdpi\status_bar_background.9.png
and
\SystemUI\res\drawable-hdpi\statusbar_background.9.png
but it wont let me compile it again, it gives some errors...am i doing this right?
Click to expand...
Click to collapse
The images are a .9 type. That means there is a black border around the images which you can't mess with. You need to get the original pictures, and do it again, but without touching the borders. So in gimp, that means you should use colorize, or colorfy.
Sent from my GT-I9100 using Tapatalk
Didn't quite understand that, can anyone do it for me?
I added the SystemUI file and the statusbar file.
Thanks
kristjanp said:
Didn't quite understand that, can anyone do it for me?
I added the SystemUI file and the statusbar file.
Thanks
Click to expand...
Click to collapse
use 7-zip for it
wil also work and never gives errors
Sent from my GT-S5830 using xda premium thank me if you think you can thank
I have also wondered about this. If I changed one of those statusbars in a theme that was a .9 png to a standard screen width statusbar image, and renamed the png to statusbar_background.png in the drawable folder and in the XML, would that work? Or would I need to make other changes?
Tapatalkin it from my IHO CM7.2'd, MIUI Themed Optimus V
So someone can do it for me ?
Didnt work will try again
kcls said:
I have also wondered about this. If I changed one of those statusbars in a theme that was a .9 png to a standard screen width statusbar image, and renamed the png to statusbar_background.png in the drawable folder and in the XML, would that work? Or would I need to make other changes?
Tapatalkin it from my IHO CM7.2'd, MIUI Themed Optimus V
Click to expand...
Click to collapse
No, I'm 99% sure that won't work. I say that because I've modified images and in renaming, I accidentally deleted the ".9" leaving just ".png". My tweaked image did not show up and instead, it still displayed the stock.9.png.
I'm gonna assume that you know how to modify .9's correctly. If not, here is a new tutorial I just saw without even searching. There are several others out there both here and on you tube. I could help as well if need be.
As long as you know how to modify and recompile .9.png's, here is a nice little shortcut for modding any system apk as the OP originally inquired about. Start by decompiling your apk. Modify whatever .9's you want and use one of the MANY tools (one is linked in the tutorial above) to recompile each individual .9.png. Once all of your .9.png's are recompiled, open the COMPILED apk you are modding using 7zip as someone mentioned above. (Left click, go to 7zip, open archive) Then navigate to res/drawable-hdpi/ and just drag your new, modified images in to the folder overwriting the old ones. Close the 7zip window and you are all done. Pretty simple. MAKE A BACK UP (just in case) and then adb push it to your system folder or use root explorer to copy and paste it.
I'd love to go into more detail, but I gotta run. I hope this helps a little. Trust me, I am no computer guy. A year ago, I didn't even know what "root" meant. I've learned everything from reading these forums and having some questions answered by other helpful users. Good luck
kcls said:
I have also wondered about this. If I changed one of those statusbars in a theme that was a .9 png to a standard screen width statusbar image, and renamed the png to statusbar_background.png in the drawable folder and in the XML, would that work? Or would I need to make other changes?
Tapatalkin it from my IHO CM7.2'd, MIUI Themed Optimus V
Click to expand...
Click to collapse
I usually just change the Status Bar backdrop in the Mdpi folder, then sign it.
Sent from my LG-VM670 using Tapatalk
Problem is, some statusbars can't use a .9, as they aren't a solid color the whole way through. Excellent writeup by the guy a couple posts above me by the way. But I just wonder what the best way to change the statusbar background from a .9 to a full 320xWhatever (for mdpi) png is. Can it be done? Am I being clear? Because sometimes I don't make much sense
Tapatalkin it from my IHO CM7.2'd, MIUI Themed Optimus V
kcls said:
Problem is, some statusbars can't use a .9, as they aren't a solid color the whole way through. Excellent writeup by the guy a couple posts above me by the way. But I just wonder what the best way to change the statusbar background from a .9 to a full 320xWhatever (for mdpi) png is. Can it be done? Am I being clear? Because sometimes I don't make much sense
Tapatalkin it from my IHO CM7.2'd, MIUI Themed Optimus V
Click to expand...
Click to collapse
I certainly can't speak for every rom or every phone, (and maybe this isn't exactly what you are referring to) but this is an old statusbar I made for a MIUI theme that worked just fine as a .9. If turned horizontal, the middle stayed the same size and both of the solid colored sides would stretch. Actually, the sides are a black to grey gradient.
Try this....
Draw9patch is the tool used for creating .9 images, it is included in the android sdk.
1 .Navigate to the tools folder at the dos prompt and type Draw9patch.
2 .Drag and drop the image to be edited into the window that opens up when you hit return.
3. Press press shift and select one pixel at two corners of the image (diagonally opposite)
Then simply save 9 patch image from file menu.
Make sure you name it as-- yourfilename.9.png
It works for me anyway
shanman-2 said:
Draw9patch is the tool used for creating .9 images, it is included in the android sdk.
1 .Navigate to the tools folder at the dos prompt and type Draw9patch.
2 .Drag and drop the image to be edited into the window that opens up when you hit return.
3. Press press shift and select one pixel at two corners of the image (diagonally opposite)
Then simply save 9 patch image from file menu.
Make sure you name it as-- yourfilename.9.png
It works for me anyway
Click to expand...
Click to collapse
So with this tool, you can take a full blown statusbar, say the one a few posts above, or one with gradients and such, and make it into a .9? I wish I'd known about that earlier!
Tapatalkin it from my IHO CM7.2'd, MIUI Themed Optimus V
If u use ninja morph it will work

Where is the miui default wallpaper located?

Hello,
While playing around with some selfmade .mtz's including clock,icons etc,
every time I apply the theme.mtz on my htc hd2 with miui 2.6.XX, the wallpaper is resetted to a grass background. I change it back to another background with the thememanager, but as soon as I apply the the .mtz, it changes back to the grass thing.
In the .mtz, I'm working with, there is "icons", "framework-res" and "clock_2x2". I already extracted framework-res to check the pngs in there but no grassy wallpaper.
I also added a "wallpaper"-file including "default_wallpaper.png" and "default_lock_wallpaper.png" but still nothing changed
So my question:
Where is the (grassy) wallpaper located? Which file I have to edit? Or was it me, doing something terribly wrong?
Thanks in advance!
(I hope I'm posting in the correct subforum ...)
System/Framework/Framework-res /res / drawable-hdpi its called default_wallpaper.png
From my fingers to your face.

Categories

Resources