Some theming questions - Nexus One Themes and Apps

Hi all!
I am new when it comes to creating themes for android but I think it will be ok, just have a couple of questions.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
RED: Is it possible to have separate icons in the status bar and the drop down field? I have a idea for a textured status bar with transparent icons, but the transparent icons would not look good on the light drop down area, hence having separate icons?
BLUE: How do you change the color of those fonts? And do those changes only affect the notification area or is that program wide? I guess it is in the XML files, but which?
That brings me to the third questions, how do I open and edit the XML files? They are unreadable, how do I decode, edit and then encode them back again? (the texts I have found dont show the process, all the xml is already in plain text)
Can you recommend any tuts or such for theming?
/regards B

RED: Not directly possible, its the same icon. You will have to change the xml/code to change the second one to another image.
BLUE: 1,2,3,and 5 all come from status_bar.xml in framework_res.apk, (services.jar may also play a part)
Heres a tut that include an example of the colorchangetool. http://nexus-nation.com/nexus-nation-forum?func=view&catid=5&id=886
There are tools for decoding the xml but I've not figured that out yet (on my other pc, will post later). You could use a hex editor.
I use 'baksmali' and "smali" to decompile and re-assemple apks.

Hi noShame.
I recommand you this thread:
"colorChange.jar v3.1 - Modify Cyan template text colors [ALL VERSIONS] 11/29"
(I cannot post the link..)
for colorChanger v3.1 script to use in command line.
.. You're under windows, right?
Code:
java -Xmx512M -jar colorChangev3.jar theme.zip clock=FF0000FF date=FF0000FF
Available options:
clock - ARGB color for the clock text
date - ARGB color for the date
ongoing - ARGB color for "Ongoing" Label
latest - ARGB color for "Notifications" Label
none - ARGB color for "No Notifications" Label
clear - ARGB color for text on Clear Notifications button
network - ARGB color for network name (T-Mobile usually)
roam - Not sure where this color shows up, possibly network name when roaming
A is for Alpha transparency

Thank you guys for the quick and informative answers!
britoso: Yeah I figured you would have to edit the XML and make it link to two different pictures, will have to look further into that.
Great tut on changing the colors, I found this vid that describes the process of using 'baksmali' and "smali" to decompile and re-assemple XML, if anybody who is readin this is interested.
lenonnib4: Hi and thank you! Yes I am on Win and that script will surely come in handy!

This video was actually the one I was searching for you... thanks for sharing the link!
Android Themes Basics 2: Changing Statusbar (1/2): http://www.youtube.com/watch?v=LiExjt7nGt8

Related

[Modding] Help with transparent notification bar + theme preview

I try to make my theme but I have a problem.
I want the notification background transparent but I don't know how to modify it.
I try different way but not success.
Anyone can help me?
Thanks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Small preview of the theme I working
I have also % of battery and trackball wakeup (thanks to eug89 for compile java)
that top grey part is called title_bar_portrait.9.png and is located on framework-res.apk. the part you want to make transparent is called status_bar_background.png and is also located in framework-res.apk
not sure if you have edited .9.pngd before but it you have to do more than just replace the image for it to look right. also im not sure if that part can be made transparent in froyo as i am currently having trouble with it. however if your making the theme for CM just adjust the transparency in photoshop, gimp etc
hope that helped
Have anybody get the status_bar_background.png transparent on FroYo ROMS?
Ok.
So the problem is froyo
Formel-LMS said:
Have anybody get the status_bar_background.png transparent on FroYo ROMS?
Click to expand...
Click to collapse
i dont think so. froyo doesnt seem to allow the image to have any transparency
Theres a Xeudoxus app that patches services.jar to enable that transparency. Didn't find exact details as too which particular file (s) are affects (for morphs). I hate when people do that (hiding details ), I will investigate after work.
For more info see this thread: http://forum.xda-developers.com/showthread.php?t=700703
Thanks Britoso.
Now I have the theme with transparent.
Now I have to fix the bar "Notification" because are also trasparent.
Also I have to investigate why It have some crash when I use metamorth for apply theme.
edit.
perfect all I want.
I have only investigate for crash when using metamorph.
Thx britoso from that other thread and xuedoxus for the app
finally got it working on my theme(frf91)
pretty cool theme!

Transparent CHT icons matching Laskar V2 transparent theme

Ever since I found Laskar V2 transparent theme, I haven't used any other. Finally I decided to modify the CHT (and some apps) icons to match my favorite theme.
Image 1
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Image 2
It doesn't show very well with my wallpaper and in low res but the icons are transparent in the background, and semi-transparent in the black borders. I snatched the design from CHT borders and icons, and used some Metro5 white icons.
I'll post both the icons I made, as well as the templates so you can modify and apply to your own icons, or to the CHT icons I didn't get to make because I don't use.
DOWNLOAD MY ICONS v1.1
PNG Icons inside the Windows folder need to be moved to the Windows folder (over-writes original CHT icons). The rest needs to be set with a program like CSMI.
CHT_no_icon.png is the empty icon. Both xcf files in the Windows folder are the templates for GIMP2 of the CHT icons, I seem to have misplaced the xcf (read as, forgot to save the file) for the app icons templates... Oh well. Just use the CHT_no_icon.png
Links for stuff I use in my phone:
Cookie's Home Tab
Laskar V2 transparent theme
Hero Clock for CHT
B&W Circular Battery icon
WM7 Metro Icons (I snatched some white icons from here)
Custom background by me
Noticed a couple of "bugs". App icons with the inner white border gets too crowded, so I'll be removing it like it was before it looks way better (you can still see the old icon in active sync and RSS in the image I took lol).
CHT icons will retain the inner white border, otherwise they easly get passed by apps, and simply doesn't look as good (the reason I inserted the 2nd border in the first place)
EDIT: Done

HELP! Original lockscreen or how to edit motorola lockscreen =S

i whant to edit or remove the motorola lockscreen...
But i can't, if i try to edit it, it doesn't work any more or doesn't work as before...
If not, remove this lockscreen and use the original android lockscreen.
i'm making a rom and i'm stucked with this.... and the background color of some items...
In the froyo ROMs:
Decompile the framework-res.apk
Replace keyguard_screen_tab_unlock.xml
Replace the zz_moto_jog_tab pngs
If you also edit the integers.xml you can fix the problem where the sound slider is not right justified.
<integer name="config_lock_screen_slider_padding_left">58</integer>
<integer name="config_lock_screen_slider_padding_right">0</integer>
<integer name="config_lock_screen_slider_padding_top">58</integer>
<integer name="config_lock_screen_slider_padding_bottom">55</integer>
Bingo AOSP lock screen
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks!! but one more question for you my friend
I use 7zip to extract files from framework-res.apk but XML files, seems strange =S
rare simbols, and i can't understand anything
You have to decompile it. I use apk manager.
If you cant see the content of an xml, you can use axmlprinter2 to SEE this, but with that tool you cant change the xml, need to be done with hex editor.
There is a kitchen to do this? I think it can be done with apk manager.
breezasib said:
You have to decompile it. I use apk manager.
Click to expand...
Click to collapse
Just that
And how to do the same in 2.1 ROMs ? I'd love to get back original lockscreen - motorolas suck with green wallpaper ,)
Darmach said:
And how to do the same in 2.1 ROMs ? I'd love to get back original lockscreen - motorolas suck with green wallpaper ,)
Click to expand...
Click to collapse
Slightly different in 2.1:
You have to change the zz_moto_keyguard_screen_tab_unlock.xml in the framework-res.apk
And set the clockopia font in the digitalclock within the framework.jar
okay i will try it, so to decompile and compile the apk i need to use apk manager and to see what is inside the XML, axmlprinter2?
EDIT:
Where are the XML styles to edit the background opacity/color and style??
THanks!
Nice! Almost to easy!
Q: When im alredy at it- cant i change the color and shape on the original sliders just by using other .png's? (i would like to have just plain gray circles and no "sliders".. and i'd like to change the clock to Digital clock widget by Maze- Im running with WidgetLocker now but.. you know how it is- ending a cal and your right back on the stock one- and somtimes it flaches by when locking/unlocking. And damn, I whant perfection!
Running Froyo btw.
You have done a great work on bringing native lockscreen to Defy. Thanks a lot! There is one more thing I would also love to have. It is Froyo call answer/hangup bars.. I'm curious do you have any thoughts on customizing blurphone.apk? Looking forward for the updates.

Kameleon Dark Facebook 1.6.3 - self theming

I'm attempting to make my Kameleon Series apps be more in depth with their theming and this is what I have so far.. I had all of Facebook inverted but my friends list was black on black and I fought it for 4 hours and couldn't get the text white so I had to use theBowers' BnB fb as the base for this one so credit to him.. A few of his icons are included also like the widget arrows..
For anyone wondering what's the point of Kameleon apps, I have 9 themes out and theming every apk/app for each theme takes up a lot of extra time so I started taking all my apks that I edit xmls in and pointed all those lines to primary sytem text colors that I edit in framework-res.. then in framework-res, I point as many xml's to the primary as well so that all I have to do per theme is edit just a couple xmls.. makes it a lot easier.. So, this idea came into play with universal apks/apps like calculator, GB Keyboards, Facebook, GoogleVoice and GoogleQuickSearch so that if a user is on any of my themes (or any theme that changes the primary and secondary text colors) these apks will 'self theme'.. meaning that all the text colors that I have chosen to edit will become the color of the theme.. Now, I'm attempting to make it deeper by having the apps call on system png's also.. So on these 2 Kameleon Facebooks, it's calling on the button sets for the buttons and for the outline headers and notification bar... it's just different, nothing out of the blue spectacular but I like it.. I included 2 versions of this.. 1 is for anyone using any of my themes since the buttons are themed and the other is a universal one that is calling on a new button I made just for the app internally so it's a basic inverted version of my Kameleon Facebook...All the colored version in the screenshots are of the Kameleon Facebook and the 2 with white are what the Universal version will look like.. Enjoy!
*Shows up as Dark Facebook in the app drawer now*
Install instructions:
1. uninstall the stock facebook first.. if you're using a different inverted one then this should install right over it...
2. download the app you want and choose to install it like a normal app
DOWNLOAD LINKS:
1. http://bit.ly/Kameleon163DarkFacebookMyThemes For anyone using my Themes - You can try this regardless. if you have dark buttons then it should look great..
2. http://bit.ly/UniversalKameleon163Facebook Universal style
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[MOD]Customize standard keyboard HTC (for all standard keyboards by HTC).

Author: MoonNah
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It is a mini-programm you can make your own keyboard in a kind you like!
The Mod are:
- Add (delete) navigating arrows under the block of the basic keyboard
- Change color of the basic and additional font of the keyboard
- Cleans shadow illumination of letters of the keyboard (thanks jamrecords!!!)
- Changes background pictures of the keyboard
How to work:
1. Download and install ApkTools, it is possible to find on this site.
2. Download and unpack my aplet in a folder with ApkTools.
3. For the first modification is necessary to use original НТС keyboard from a Rom (or pull out from phone) (with not modified colors of fonts, otherwise to change a font to you will not be possible). The Original look like:
4. Unpack apk keyboard by ApkTools
5. Start my program BL_HTCIMECHANGE.exe
6. In the left top of window choose unpacked folder HTC_IME
7. After a choice of folder in the program list of templates for portrait and landscape display of keyboard will be filled
8. Select a colors of basic and additional color of font for keyboard (for convenience on absolutely black and absolutely white background it will be displayed texts of the colors chosen by you)
9. Choose a keyboard background (if you want to change it) in the right top corner in a window, after a choice you will see this picture in the right bottom of window. Attention!!! the picture should have the size of your screen display (for today the program support only the permission of Sensation 540*960).
10. Now we put ticks in a penultimate window which will define what to do to the program
- To add to (remove) arrows
- To change colors of fonts of the keyboard
- To change a keyboard background
11. We press button Create and we wait when programm finished!
12. The keyboard button redrawning as you want
13. Collect keyboard by ApkTools, put it to your device and enjoy! Looks like (example)
14. At repeated change of the same keyboard you can begin at once with point 5 then the program will opened with your options of color of fonts.
15. Attention! If after termination of program, in a message window (as in drawing) you will see text "Add picture files arrows in to HTC_IME/res/drawable-hdpi.", it will be necessary for you to download archive ArrowsButton.rar, unpack 5 pictures of arrows and their background in a folder res/drawable-hdpi.
Download:
BL_HTCIMECHANGE_BY_MOONNAH
pictures of arrows and their background
original thread
The download link is broken could you re-upload please. Also the title of the thread says it will work with all standard keyboards by HTC, so will this also work on The HTC Evo 3D?

Categories

Resources