[Q] How to remove the left and right margins from stock mms? - Nexus S Themes and Apps

Hello all! I have been making some UI changes to the stock Mms.apk app on my Nexus S. Nothing huge, just a few tweaks. I have been trying to figure out how or where to remove the left and right margins on messages in the message list. I would like each message to span the width of the entire screen. I have decompiled the the apk and I'm not sure where this can be edited. I am using APK Manager 4.9. I have looked in every file that references "MessageListItem" in its title.
Any ideas? Please and thank you!
See the attached image for what margins I am talking about. The margins are highlighted in red.

pixelswim said:
Hello all! I have been making some UI changes to the stock Mms.apk app on my Nexus S. Nothing huge, just a few tweaks. I have been trying to figure out how or where to remove the left and right margins on messages in the message list. I would like each message to span the width of the entire screen. I have decompiled the the apk and I'm not sure where this can be edited. I am using APK Manager 4.9. I have looked in every file that references "MessageListItem" in its title.
Any ideas? Please and thank you!
See the attached image for what margins I am talking about. The margins are highlighted in red.
Click to expand...
Click to collapse
Does that include all the xmls that have list in the title?
Sent from my Nexus S 4G using XDA App

ZiggSVO said:
Does that include all the xmls that have list in the title?
Click to expand...
Click to collapse
Thanks for responding Zigg. Yes, I have opened all xml files with list in the title. I have edited several of the layout xml files including "message_list_item.xml" in the layout folder, which I feel might be related somehow to those margins.
But, when I edit any file in the /res/layout folder and I compile the apk again it results in a force close on whatever screen that layout xml applies to. So, I make any change to the "message_list_item.xml" file and it will force close when I try to enter the message list but not on the main conversation thread screen.
I don't know either if these margins can be altered by way of a theme and, if so, how to add that style.
Thanks for any feedback you may have!

pixelswim said:
Thanks for responding Zigg. Yes, I have opened all xml files with list in the title. I have edited several of the layout xml files including "message_list_item.xml" in the layout folder, which I feel might be related somehow to those margins.
But, when I edit any file in the /res/layout folder and I compile the apk again it results in a force close on whatever screen that layout xml applies to. So, I make any change to the "message_list_item.xml" file and it will force close when I try to enter the message list but not on the main conversation thread screen.
I don't know either if these margins can be altered by way of a theme and, if so, how to add that style.
Thanks for any feedback you may have!
Click to expand...
Click to collapse
Are you signing the apk after recompiling it?
Sent from my Nexus S 4G using XDA App

ZiggSVO said:
Are you signing the apk after recompiling it?
Click to expand...
Click to collapse
I was able to successfully edit the layout XML files, compile the apk and the Mms.apk app is working and being pushed to the system/app folder just fine.
My issue now is I don't know where those margins are being declared or set in the layout or XML files. I don't know if there is a parent element creating them. I have been pouring over the files and maybe it might be somewhere in "compose_message_activity.xml" but I'm not sure.
Thanks again for your help!

Got it!
Thanks for your help Zigg.
I believe that I have figured it out. In "compose_message_activity.xml" there is a view tag referencing MessageListView where I edited the scrollbar properties that were adding space and I also set some negative margins all around.

Related

Where are these images? APKs broken down!

:::Mods please don't move this thread with the other theme tuts:::
Well i have pretty much finished FadetoBlue and now taking a small break before starting my next theme. I am banging my head trying to remember where the boot image is. I know i have seen them somewhere but can not remember where. So i figured why not ask the forums, but at the same time give info on where the images are located inside the apks. I know a lot of the images are easily figured out by the name, but i want to find and explain the tougher ones that the names don't make as much sense, also things like if you change the dialer in contacts.apk, you should also change the dialer in phone.apk.
Common Image names:
.9.png - These images are used for items that will stretch. These can be difficult to edit.
btn_ - Buttons, there are a lot of different buttons and they have different states. The most common are Normal, Longpress, Disabled(when it is linked to an editbox that has nothing in it yet, Selected(When highlighted and pressed with trackball) and Focused(When scrolling over with trackball)
pressed_application_background_static.png - This image has to do with pressing an app icon on the home screen or in the launcher
focused_application_background_static.png - This image has to do with using the trackball to scroll over app icons on the home screen or in the launcher.
ic_menu - these are all the files you seen when you hit Menu in various apps.
stat_notify - Notification alerts that are found on the top bar.
stat_sys - Icons for Battery, signal strength, wireless, connections. Also on the top bar.
status_bar - These all have to do with the images you see when you drag your finger down from the top of the screen.
title_bar - this is the bar where all of the Notifications pop up on.
Most common changes: Aside from icons.
Framework-res.apk -has the majority of UI images, Notification icons,
Contacts.apk - You see these images when you hit the green call button, press the contacts or phone icons, Has some of the same images as Phone.apk
Launcher.apk - Has the Clock, Folders, wallpapers and some Google Search widget images.
Phone.apk - You see these images, after you dial a number and call them. You should make the same changes here as in Contacts.apk
Icons:
AlarmClock.apk - res\drawable\ic_launcher_alarmclock.png
Browser.apk - res\drawable\ic_launcher_browser.png
Calculator.apk - res\drawable\icon.png
Calendar.apk - res\drawable\app_calendar.png
CalendarProvider.apk -res\drawable\app_icon.png
Camera.apk - res\drawable\ic_launcher_camera.png
com.amazon.mp3.apk - res\drawable\icon_application.png
com.android.term.apk - res\drawable\app_terminal.png
Contacts.apk -res\drawable\ic_launcher_contacts.png & ic_launcher_phone.png
Email.apk -res\drawable\icon.png
GDataFeedsProvider.apk -res\drawable\app_icon.png
Gmail.apk -res\drawable\ic_launcher_mail.png
GmailProvider.apk -res\drawable\ic_launcher_mail.png
GoogleSearch.apk - Has a drawable folder but no icon?
gtalkservice.apk -res\drawable\app_instant_message.png
IM.apk -res\drawable\ic_launcher_im.png
ImProvider.apk -res\drawable\ic_launcher_im.png
Launcher.apk -res\drawable\ic_launcher_alarmclock.png & ic_launcher_gallery.png & ic_launcher_home.png
Maps.apk -res\drawable\ic_launcher_maps.png
MediaProvider.apk -Has a drawable folder but no icon!
Mms.apk -res\drawable\ic_launcher_smsmms.png
Music.apk -res\drawable\app_music.png
MyFaves.apk -res\drawable\myfaves_app_icon.png
PackageInstaller.apk -res\drawable\icon.png
Phone.apk -res\drawable\app_voicemail.png & ic_launcher_phone.png
Settings.apk -res\drawable\ic_launcher_settings.png
SettingsProvider.apk -res\drawable\ic_launcher_settings.png
SetupWizard.apk -Has a drawable folder but no icons!
SoundRecorder.apk -res\drawable\ic_launcher_soundrecorder.png
Street.apk -Has a drawable folder but no icon!
Superuser.apk -res\drawable\icon.png
Sync.apk -res\drawable\app_icon.png
SystemUpdater.apk -Has a drawable folder but no icons!
Talk.apk -res\drawable\app_instant_message.png
TelephonyProvider.apk -res\drawable\ic_launcher_phone.png
TmoImPlugin.apk -res\drawable\ic_im_logo_* This has icons for AIM,Yahoo and MSN. They show in IM list.
Vending.apk -res\drawable\ic_launcher_androidmarket.png
VoiceDialer.apk -res\drawable\app_voicedialer.png
VoiceSearch.apk -res\drawable\app_voicesearch.png
YouTube.apk -res\drawable\ic_launcher_youtube.png
Reserved...
Just incase =)
cheers for this, very useful to budding theme developers
i think if you look in framework-res and go to assets then images for the boot images
Sorry about the delayed reply, i kind of lost the thread =) thanks Kron!
Woot!
Someone like a mod should sticky this thread.
Thanks for the list.
Great list, I basically found this out all through just going through and looking at the images, but a single post with all the images would be great for all the new theme makers who are starting to come in and contribute. Thanks for posting this!
I second for a sticky.
This would have saved me many many hours when I was just starting out with this theme business. Very useful post!
Thanks for the info.
I tried looking for the pictures icon location but can seem to find them... The one in the launcher.apk was for the wallpaper icon. Any clue?
yellow heel said:
Thanks for the info.
I tried looking for the pictures icon location but can seem to find them... The one in the launcher.apk was for the wallpaper icon. Any clue?
Click to expand...
Click to collapse
Sorry for the delayed reply, I didnt get the question at first so i didn't answer, then forgot about it.
But you will find the ic_launcher_gallery.png in Camera.apk and Launcher.apk. I believe by changing the one in the camera it will change it where you want.
damnitpud said:
Sorry for the delayed reply, I didnt get the question at first so i didn't answer, then forgot about it.
But you will find the ic_launcher_gallery.png in Camera.apk and Launcher.apk. I believe by changing the one in the camera it will change it where you want.
Click to expand...
Click to collapse
Thank you, I will give that a shot.
Quick Question...
After a long time searching,(i didn't want to make a new thread for this if there was one already opened) I have a question...
I want to be able to edit just the launcher.apk or the drawables in framework-res.apk to be able to hold all the default launcher-app icons.
Basically, is there a way to place all the icons for the stock apps in one of those 2 above mentioned files and when opening the app tray, those icons show up as opposed to the ones in the individual .apk's?
any help on this would be nice. i'm tired of searching. lol
temporizer said:
After a long time searching,(i didn't want to make a new thread for this if there was one already opened) I have a question...
I want to be able to edit just the launcher.apk or the drawables in framework-res.apk to be able to hold all the default launcher-app icons.
Basically, is there a way to place all the icons for the stock apps in one of those 2 above mentioned files and when opening the app tray, those icons show up as opposed to the ones in the individual .apk's?
any help on this would be nice. i'm tired of searching. lol
Click to expand...
Click to collapse
Currently, NO there is no way to do this on the way the android files are pulled to and from the system.
However, I believe Cyanogen has an idea to implement an easier way to skin the default system app's icons than the system we have now. This is one of the things he has on his list of 'to-do' for the Experimental builds if I remember correctly.
Until he's able to pull this off, we're stuck editing individual apk's. It sucks since there is a higher probability of something breaking doing this. Hopefully Cyanogen can get something working soon. It'd make my job a lot easier.
Gah again with the double post, mods please delete.
prash said:
Currently, NO there is no way to do this on the way the android files are pulled to and from the system.
However, I believe Cyanogen has an idea to implement an easier way to skin the default system app's icons than the system we have now. This is one of the things he has on his list of 'to-do' for the Experimental builds if I remember correctly.
Until he's able to pull this off, we're stuck editing individual apk's. It sucks since there is a higher probability of something breaking doing this. Hopefully Cyanogen can get something working soon. It'd make my job a lot easier.
Click to expand...
Click to collapse
Thank you Prash for the response.
That makes sense, and i know that cyanogen is working on implementing the standalone icon feature.
The ONLY reason I ask this is because of a post that stericson made a while ago:
Stericson said:
General Info:
Every .apk contains the images relating to itself. However, every apk has the ability to use the images in framework-res.apk. The images for every apk is located inside of itself. To find these images open up the apk, you can rename it to .zip or open it with an archiver of your choice, winrar, winace, etc. Then after opening the apk open the folder called res and inside of that there are folders that are named Drawable, drawable-land, drawable-port, etc. This is where the images are stored.
Click to expand...
Click to collapse
so, i thought that icons could be pulled from there as well...
thanks for this, i attempted to theme cyans theme template the other day and didn't know where to start. This is going to be very helpful!
DAKIDD236 said:
thanks for this, i attempted to theme cyans theme template the other day and didn't know where to start. This is going to be very helpful!
Click to expand...
Click to collapse
i am glad my old posts are still helping people, i just hope this old info is still good. I am tinkering with theme'n again so its possible that i will be updating any changed info, or using the second post of this thread for the new info.
got a question.
i have JACxROM v1.3r2. all i want to do is change the battery icon at the top. i found the image after i change it do i have to do anything else or can i just flash it to my phone
saprano614 said:
i have JACxROM v1.3r2. all i want to do is change the battery icon at the top. i found the image after i change it do i have to do anything else or can i just flash it to my phone
Click to expand...
Click to collapse
just resign and you're good to go
jonnybueno said:
just resign and you're good to go
Click to expand...
Click to collapse
how do i resign

help making/undoing transparent/translucent button effects

Hi Guys
How do you make buttons have a transparent look? I have seen both some mods and roms that have made the sense launcher/navbar buttons transparent and or translucent. I have contacted the creators of the mods and roms and asked how they accomplished their effects but my requests for help have gone unanswered.
I imagine that the effects are made possible by an entery in one of the xml files I just don't know which files I should be looking at and what to be looking for inside those files.
Help would be greatly appreciated.
You need to find the PNG files that you want to change and create them so that they are transparent.
As an example, /system/framework/com.htc.resources.apk has a file called "lockscreen_arc.png. *see attached* It is semi-transparent (when viewed in photoshop).
What little I know how to do I learned from THIS, a few questions answered by JsChiSurf and some fearlessness to dig in and hope my nandroid saved me.
kelmar13 said:
You need to find the PNG files that you want to change and create them so that they are transparent.
As an example, /system/framework/com.htc.resources.apk has a file called "lockscreen_arc.png. *see attached* It is semi-transparent (when viewed in photoshop).
What little I know how to do I learned from THIS, a few questions answered by JsChiSurf and some fearlessness to dig in and hope my nandroid saved me.
Click to expand...
Click to collapse
So you are saying that it is the image itself that is transparent or translucent and not an attribute somewhere in one of the xml files?
What I am trying to do is actually undo the transparency/translucency of a an image. I figured it might be the result of an xml attribute since upon replacing the image with one of my own nothing changed (now I may not have replaced the correct image, this is always a possibility)
dsMA said:
So you are saying that it is the image itself that is transparent or translucent and not an attribute somewhere in one of the xml files?
What I am trying to do is actually undo the transparency/translucency of a an image. I figured it might be the result of an xml attribute since upon replacing the image with one of my own nothing changed (now I may not have replaced the correct image, this is always a possibility)
Click to expand...
Click to collapse
Well it can actually be done both ways some are controled by the image itself adn some are controlled my xml.
nfinitefx45 said:
Well it can actually be done both ways some are controled by the image itself adn some are controlled my xml.
Click to expand...
Click to collapse
If it is controlled by xml do you know what files I should be looking at and what inside the files I should be looking for?
Note this is for the laucher/navbar buttons in particular the ones found in konirosie (but I imagine any help could be applied generally)
I am just learning the editing of xml's myself, so I can really help much, this is a question that should be directed to JsChiSurf. That man is the expert on editing the xml's and could probably guide you to what you are looking for.

[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

[Guide] How To Edit Skin .apk's

Hi all.
I thought i would write a basic guide on how to modify a skin apk the way YOU want it. There are some great skins being made, but often the colour scheme is not the way you might like it. I am new to android so if i have made any mistakes please let me know and i will correct ASAP.
Firstly i will say if you modify any skin, please DO NOT post it unless you have the previous developers permission. This is IMPORTANT. They are for personal use only.
First you need to install the following on to your PC:
Android SDK Here: http://developer.android.com/sdk/installing.html
Java JDK and JRE Here: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Auto sign Here: http://forum.xda-developers.com/showthread.php?t=473580
A good photo editing tool. I use photoshop.
Once installed open the android sdk and download the relevant Android Platforms.
Download the skin apk you want to modify. The apk can be opened with winrar. There will generally be 3 folders a xml and arsc. The two we need to look at are assets and res.The assets folder contains the preview pic and the wallpaper for the skin. The res folder contains all the png files. In res, the drawable folder contains the xml's. drawable-port-hdpi contains the png's for the home screen like the softbar and sense clock. drawable-land-hdpi contains the pngs used in land scape. drawable-hdpi contains the bulk of the png used in the skin
The following is how i changed the carbon fiber orange skin to green.
Extract the Carbon fiber apk. Then i wanted to change to colour scheme from orange to green so i used the res/drawable-hdpi from the evolution skin by extracting with winrar as this uses green png's. Copy the green png from the extracted evolution res/drawable-hdpi to the extracted carbon fiber res/drawable-hdpi. You will need to go through each png and just replace the orange png as the carbon fiber skin has some parts in this file.
Then take a look at the png's in the extracted carbon fiber res/drawable-port-hdpi. You will see the ones used for the home screen button colours (there the one's that are orange) Here is were photoshop comes in. You can remake the buttons or simply edit the colour of the existing png's your choice. I also changed the colour of the clock numbers from silver to green. Then replace your modified pngs with the ones in res/drawable-port-hdpi.
Next you can change the wallpaper and preview pic in the assets/image.
Now you need to add the modified folders with winrar. Open the original orange carbon fiber.apk with winrar and drag the modified assets and res folders from the modified extracted carbon fiber, to the archive. It will now replace the folders. Then close winrar.
Next you need to resign the apk with autosign for it to install. Please read the instructions on the autosign thread. Once auto sign is set up just right click on the modified carbon fiber.apk and click resign APK, wait a few seconds and job done!
I hope this info comes in useful. If i have missed anything please let me know and i will add it.
That's great! Thanks!
Sent from my Desire HD using XDA App
original_ganjaman said:
I hope this info comes in useful. If i have missed anything please let me know and i will add it.
Click to expand...
Click to collapse
Thanks for the guide. This will come in really useful!
Sent from my DHD
Dear original_ganjaman:
First thanks for your guide.
I had Edit Skin .apk's.
But when I change the png that name is lockscreen_arc_incall.png in res/drawable-hdpi.
It always can't show on lockscreen.
Can you tell me why.
Thank you.
laphone said:
Dear original_ganjaman:
First thanks for your guide.
I had Edit Skin .apk's.
But when I change the png that name is lockscreen_arc_incall.png in res/drawable-hdpi.
It always can't show on lockscreen.
Can you tell me why.
Thank you.
Click to expand...
Click to collapse
That png is for when you are receiving a call. Edit lockscreen_arc.png, thats the one you want.
original_ganjaman said:
That png is for when you are receiving a call. Edit lockscreen_arc.png, thats the one you want.
Click to expand...
Click to collapse
Thank you for your answer
original_ganjaman said:
Hi all.
I thought i would write a basic guide on how to modify a skin apk the way YOU want it. There are some great skins being made, but often the colour scheme is not the way you might like it. I am new to android so if i have made any mistakes please let me know and i will correct ASAP.
I hope this info comes in useful. If i have missed anything please let me know and i will add it.
Click to expand...
Click to collapse
Dear original_ganjaman:
How can I change name of skin??
I try use apktool to do.
But apktool like can't decode skin's apk
I got way to change name of skin
Thanks
I downloaded a win rar for a dock,
and I have no idea how to get it onto my phone, I have tried to read this, but I'm just soo confused I don't get it.
superdaddy said:
I downloaded a win rar for a dock,
and I have no idea how to get it onto my phone, I have tried to read this, but I'm just soo confused I don't get it.
Click to expand...
Click to collapse
Which part are you stuck on? I don't understand how far you have got.
original_ganjaman said:
Which part are you stuck on? I don't understand how far you have got.
Click to expand...
Click to collapse
I downloaded this dock and wanna put it on my phone.
http://dutchlimits.deviantart.com/#/d324v1v
superdaddy said:
I downloaded this dock and wanna put it on my phone.
http://dutchlimits.deviantart.com/#/d324v1v
Click to expand...
Click to collapse
It is for launcherpro. I don't use this sorry. it is not a skin but a whole dock replacement.
I have only been using android for around 2 weeks, so i am new to this.
Edit: i took a look and it is a skin for launcher pro. install instructions seem easy: Taken from the readme.txt:
Install:
- Download launcherpro
- On home: Press menu -> Preferences -> Appearence -> Dock background -> Custom
Can anyone tell me, after edit the apk file, how can i change the name of the skin and author?
Exactly what I was looking for, thanks!
Sent from my ADR6400L using XDA App
thnx!
thnx guy, this is useful 4 all the newbies on the field of edition skins!! xP
*Yawns* - Old thread is old. If you want to say thanks, use the button.
*Puts Thread Back To Sleep*
*Yawns* - Old thread is old. If you want to say thanks, use the button.
*Puts Thread Back To Sleep*

[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.

Categories

Resources