im currently working my way through replacing most of the stock icons, but im struggling with a few of them, most noteably the phone, email, navigation & maps icons that are present when you first boot the phone.
i just cant seem to find the exact png file for these even after rooting through the apk's.
i also want to change the text background to completely clear, anyone know where this particular file is located as well?
cheers
Related
I'm working on modifying the sprint theme but have run into a couple of problems.
Firstly I no longer have network name, after getting rid of Sprint logo.
Secondly semi transparent curtains no longer work, they're either solid or not there at all.
Lastly can not change the select colour from the orange/yellow default built in colour. I've explored the tsk file, and explored the _setup.xml file inside but can not make changes, I think I have identified the values for the select colour, but for the life of me can not work out how to edit it even if I knew what the values of other colours are.
Does anyone know how to fix these things.
I've been all the way through the manila files and managed to change everything else but these.
Any help would be good thanks.
OK made a little progress can get the home screen to use semi-transparent curtains, but all other tabs have only solid curtains or no curtains, is there a manila file I'm missing and havent changed, or mistakenly changed?
Screenshots soon.
Hi All-
So, while I'm relatively experienced in computer programming, I'm just starting out learning the android SDK and one of my first tasks was to replace some files in an APK file, namely the Dazzle widget apk.
I wanted to make the background of the widget slightly transparent instead of fully black. I opened the APK, pulled the background file out of the HDPI drawable folder, opened it in GIMP, reduced the opacity, and saved it as a png. I put that PNG back into the Dazzle APK, resigned it using a tool I found here on XDA, and used ADB to install it.
However, when I try to add the widget, the background is now too small (however, it is transparent, so clearly it is reading the correct file)! It only takes up about 75% of the size of the widget, and doesn't cover the white buttons that are supposed to be imposed on it. I have not edited the dimensions of the image, so I don't know what's going on.
Is there something I'm overlooking? Please help!
Thanks!
danktamagachi said:
Hi All-
So, while I'm relatively experienced in computer programming, I'm just starting out learning the android SDK and one of my first tasks was to replace some files in an APK file, namely the Dazzle widget apk.
I wanted to make the background of the widget slightly transparent instead of fully black. I opened the APK, pulled the background file out of the HDPI drawable folder, opened it in GIMP, reduced the opacity, and saved it as a png. I put that PNG back into the Dazzle APK, resigned it using a tool I found here on XDA, and used ADB to install it.
However, when I try to add the widget, the background is now too small (however, it is transparent, so clearly it is reading the correct file)! It only takes up about 75% of the size of the widget, and doesn't cover the white buttons that are supposed to be imposed on it. I have not edited the dimensions of the image, so I don't know what's going on.
Is there something I'm overlooking? Please help!
Thanks!
Click to expand...
Click to collapse
Maybe a dumb question but was it a .9.png by chance?
It is a .9.png! I didn't realize files with that extension had any special meeting. I assume that I'll have to use the special tool that come with the developer kit in order to properly edit these.
Anyone have a link to a guide/directions I can follow?
I've been wondering if there's a way to add custom icons for third party apps in MIUI ROM. I know you can change icons of applications by opening the .apk and replacing the icon file inside but MIUI adds its own background for third party apps' icons. So my question is, how can I prevent MIUI from doing that?
The default icons seem to be located in the farmework-res.apk inside "drawable-hdpi-finger" folder. I tried adding new icons there and naming them to "icon_handcent.png" or "icon_handcent_sms.png" etc. but this didn't work.
And just to be clear I don't want any widgets like Desktop Visualizer or BetterCut to make new shortcuts. All of those apps make the new shortcuts as widgets and therefore they can't be added in the dockbar or inside folders.
Thanks in advance
Jiia said:
I've been wondering if there's a way to add custom icons for third party apps in MIUI ROM. I know you can change icons of applications by opening the .apk and replacing the icon file inside but MIUI adds its own background for third party apps' icons. So my question is, how can I prevent MIUI from doing that?
The default icons seem to be located in the farmework-res.apk inside "drawable-hdpi-finger" folder. I tried adding new icons there and naming them to "icon_handcent.png" or "icon_handcent_sms.png" etc. but this didn't work.
And just to be clear I don't want any widgets like Desktop Visualizer or BetterCut to make new shortcuts. All of those apps make the new shortcuts as widgets and therefore they can't be added in the dockbar or inside folders.
Thanks in advance
Click to expand...
Click to collapse
I recon that if you create an icon that is exactly the same size as MIUI makes its icons then you wont be able to see the background it puts behind it.
What happens if you make an app's icon a black square that fills the whole png? Does it obscure any MIUI backgrounds?
ive been trying to add icons to this folder too but not had any luck. Im guessing it is contained in an xml telling the launcher to use those icons in the framework.res instead of the ones inside the apk itself.
Ive looked through a load of xmls in launcher and in framework but cant seem to find it anywhere.
On a side note i have read over on droidforums that by changing the icon for the apk contained in data/system/customized_icons then this will display the new icon of your choosing. So instead of placing your icon in the drawable_hdpi_finger folder, place them in there.
bcnice20 said:
And themers it looks like it stores the customizd icons in data/system/custom icons may help
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
data/system/customized_icons
look here guys ^^^^^^^^
you will find all the miui generated 3rd party icons will be in there. Try replacing those (may need to wipe cache to apply, not sure)
and fyi the way miui makes icons is the same as iphone now. It uses icon_mask to limit the drawable size of the original icon, then applyies it on icon_pattern on top of icon_background, and finally places icon_frame over top of it all. all those files are found in framewrok-res.apk inside the drawable-hdpi finger folder
im trying to change the main icons not the customized ones. is there a folder for that? like settings and gallery icons.
operation_english said:
im trying to change the main icons not the customized ones. is there a folder for that? like settings and gallery icons.
Click to expand...
Click to collapse
Yes, in framework-res.apk there is a folder called drawable-hdpi-finger. All system apps have their icon in there. If you place your new icons in there then they will then be changed on the main screen.
What i still havent worked out is how to add icons in there for other apps such as handcent or dialerone.
i think the default_workspace.xml would need the app and package adding to it but i laso think there would be another step somewhere, not tried it yet.
wheres the framwork-res.apk located?
Is there a way to completely avoid this resize?
newone757 said:
It uses icon_mask to limit the drawable size of the original icon
Click to expand...
Click to collapse
Is that the reason why MIUI resize the 3rd party app inside data/system/custom icons??
Is there a way to completely avoid this resize?
I have overwritten the background, for example, and now I have no unwanted background.
I can decide for the border, remove it the same.
But overwrite the icon_mask seems do not change the MIUI resizeing.
What have I to do?
Thank you in advance, to everybody who would help
newone757 said:
data/system/customized_icons
look here guys ^^^^^^^^
you will find all the miui generated 3rd party icons will be in there. Try replacing those (may need to wipe cache to apply, not sure)
Click to expand...
Click to collapse
I struggle finding this folder. Where is it?
I got this folder "system/customize" but no icons there. The "data" folder is empty.
Help please :3
SeaFargo said:
Is that the reason why MIUI resize the 3rd party app inside data/system/custom icons??
Is there a way to completely avoid this resize?
I have overwritten the background, for example, and now I have no unwanted background.
I can decide for the border, remove it the same.
But overwrite the icon_mask seems do not change the MIUI resizeing.
What have I to do?
Thank you in advance, to everybody who would help
Click to expand...
Click to collapse
How did you manage to overwrite the background? I found the customized_icons folder but just can't find the icon_background or icon_frame files on my system.
Help appreciated.
I've tried Better Cut aswell as some of the launchers. I don't really want to use a launcher and Better Cut and "Folder" something didn't work for me.
Better Cut and the other "Icon" apps didn't seem to work. I could change the icon png in the tool and it would look okay, but they would either not show up on my home screen, or would show up with no changes to them. ie, stock icon image or changing the name would not work. Wonder if this is a glacier/sense thing?
I'm thinking about rooting and changing things at the OS level.
I want to change the icons to custom .png's and remove the text under their icons on the home screen.
Any suggestions?
Has anyone found a way to modify the notification bar? (or replace it with a different one that can be customized?) I'd like to remove the clock. I have a really nice looking widget that lets me use 24h mode and it's quite annoying to have two clocks right next to each other.
You could probably modify it by editing framework-res.apk.
Some stuff about editing that file: https://docs.google.com/Doc?docid=0AcdxIJRSH9ypZGZzc2pxNDlfMjdnazk4OHNxZA&hl=en
Also, it has already been done for Fire, so it is possible and it works etc. : http://forum.xda-developers.com/showthread.php?t=1365712
EDIT: You could also probably do it with a MetaMorph theme, but you'd still need to do the same stuff pretty much, only instead of repacking the framework-res.apk, you'd build a MetaMorph ZIP and install it via MetaMorph.