Fellow themers,
I have started putting together this guide for theming ICS. Some stuff I figured out myself and some was done by others so credit to all who figured it out first.
Please post your findings as well and I will add them here.
Happy theming.
GUIDE
Tools:
Update your sdk to 4.0
Latest Apkmanager (5.0.2) (make sure you replace the aapt with the latest one from your 4.0 sdk install/ Apk Multi-Tool
Latest Apktool
Install the framework:
Code:
apktool if framework-res.apk
Framework Compilation Errors:
You will notice that you get a lot of 'plurals.xml line 79' errors when trying to compile the framework.
You have to go the line 79 in each xml that gave an error and add a % in front of the 2nd %d.
For example in values/plurals.xml, change the following:
Code:
<item quantity="other">%d of %d</item>
to:
Code:
<item quantity="other">%d of %%d</item>
It will compile ok after that.
Clock/Carrier/Ticker/Text Highlight colors:
In framework-res/res/values/colors.xml, change the following to your desired hex color code:
Code:
<color name="holo_blue_light"></color>
<color name="holo_blue_dark"></color>
<color name="highlighted_text_holo_dark"></color>
<color name="highlighted_text_holo_light"></color>
Notifications background color:
In SystemUI/res/values/drawables.xml, change the following to your desired hex color code:
Code:
<item type="drawable" name="notification_item_background_color"></item>
<item type="drawable" name="notification_item_background_color_pressed"></item>
<item type="drawable" name="status_bar_notification_row_background_color"></item>
</item>
Changing the statusbar image:
In SystemUI/res/values/drawables.xml, change this one line and change the corresponding image in drawable-hdpi/xhdpi:
Code:
<drawable name="status_bar_background">@drawable/status_bar_bg_tile</drawable>
</item>
Changing the notification pulldown image:
In SystemUI/res/layout/status_bar_tracking.xml, add ---android:background="@drawable/pulldown"--- to the first line and add the corresponding image in drawable-hdpi/xhdpi:
Code:
<com.android.systemui.statusbar.phone.TrackingView android:orientation="vertical" android:background="@drawable/pulldown" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
Removing the tint that Google inexplicably added to all the notifications:
In SystemUI/res/values/dimens.xml, change this value to anything you like:
Code:
<item type="dimen" name="status_bar_icon_drawing_alpha"></item>
</item>
Changing it to 100% will get rid of the tint altogether.
Reserved for later...
One more for later...
Last one just in case...
I am in...
Well here I am, subbed
considering it may be awhile before or even if my phone does get ics, I'm in for helping in any way I can.
Im looking at making the dialler transparent, but theres no diallertabactivity.apk, sp where to start?
Running ics on my sgs, probably im getting a Nexus S, when it gets ICS. :-D
Perka said:
Im looking at making the dialler transparent, but theres no diallertabactivity.apk, sp where to start?
Running ics on my sgs, probably im getting a Nexus S, when it gets ICS. :-D
Click to expand...
Click to collapse
I thought ur on Galaxy Nexus? Stay! Dont go, Galaxy S will also receive cm9 too but i dunno about those htc phones.... Sadly, the Milestone lose support... Anyway, how we gonna theme cm9?
Sent from my GT-I9000 using Tapatalk
Well there are new folders in the drawables. Xhdpi is the one you want to edit
yea I have done some stuff, link in my sig.
Just cant find the pngs for dialler.
Edit: I have a sgs, for now
I dont think we will get a real ICS
Perka said:
yea I have done some stuff, link in my sig.
Just cant find the pngs for dialler.
Edit: I have a sgs, for now
I dont think we will get a real ICS
Click to expand...
Click to collapse
Will get cm9 not real Aosp type...
Sent from my GT-I9000 using Tapatalk
So how do you theme the toggles and where are they stored?
@MinceMan SystemUI.apk you need CM9, not AOSP ICS
ics xml are more easy than gb ones i do not think tha ics needs own theming thread, cos almost everything you know about gb you can mod in ics + you have some more extra features
ZduneX25 said:
@MinceMan SystemUI.apk you need CM9, not AOSP ICS
Click to expand...
Click to collapse
Thanks! I'm guessing that I was looking at an AOSP then.
Sent from my Photon 4G
Any way to make the statusbar transparant, I see this on ICS / Teamhacksung's bar, WHAT has to be changed for what?
Code:
new-instance v11, Landroid/view/WindowManager$LayoutParams;
const/4 v12, -0x1
const/16 v14, 0x7d0
const v15, 0x800048
const/16 v16, 0x4
invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
@RATBORG try:
const/16 v16, -0x3
invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
Click to expand...
Click to collapse
I'll try it now man... thanks
EDIT: not working
Did you make sb background image transparent and use live wallpaper to be 100% sure?
Wysłane z mojego GT540 za pomocą Tapatalk
Jep, did it all. Will try it again in a minuten to be sure I'm not stupid whehe
Related
This is a simply method to set a transparent background on framework-dependent apks and Contacts.apk. Tested on my GS2 and TF201.
1. Using Photoshop or similar create a trasparent image (% as you wish) and save it as .png. If you insert a texture or image, use your device resolution for better results. Make two copies and rename its as "background_holo_dark.png" and "background_dial_holo_dark.png"
2. Decompile framework-res.apk. You can follow this great guide
3. Browse to res/values and open styles.xml. Search code for "<style name="Theme.Holo" parent="@style/Theme">"
4. On it, search this line "<item name="windowShowWallpaper">false</item>" (using Komodo is line 1006) and replace values with true. Save and close.
5. Browse to res/drawable-nodpi and replace existing background_holo_dark.png with your image
6. Recompile framework-res. You may refer to guide posted above
7. Using winrar or similar browse into Contacs.apk to res/drawable-nodpi and replace existing background_dial_holo_dark.png with your image (simply drag&drop, be careful to set compression to Store)
8. Replace framework-res and Contacts.apk on your device (Root explorer, adb, flash through recovery). Personally I also clear cache and dalvik cache
9. Enjoy your modded apks!
Remeber: always perform backup before replace any system file! Also, I'm no responsible for any problems that may occure on your phone
Hi dude!
Can you help how to do this with a stock ROM (Eclair - XPERIA X8) ?
Sorry but I have always used ICS on my devices, no experience about Eclair.
If Eclair have a framework-res.apk send it to me, I can try to help you.
Bye!
bobgeneric said:
Hi dude!
Can you help how to do this with a stock ROM (Eclair - XPERIA X8) ?
Click to expand...
Click to collapse
bobgeneric said:
Hi dude!
Can you help how to do this with a stock ROM (Eclair - XPERIA X8) ?
Click to expand...
Click to collapse
WTH. 2.1 man that suxxxs I believe its time for an upgrade
This is not the correct method. What you have essentially done is changed Theme.Holo to Theme.Holo.Wallpaper, but in an inefficient way and in a way that affects all its derivative themes, which is most themes. If you want the transparent background effect, you should use Theme.Holo.Wallpaper, as that's what it's designed for. It takes the parent theme of Theme.Holo and adds the following overriding attributes:
Code:
<!-- Default holographic (dark) for windows that want to have the user's selected wallpaper appear behind them. -->
<style name="Theme.Holo.Wallpaper">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:colorBackgroundCacheHint">@null</item>
<item name="android:windowShowWallpaper">true</item>
</style>
Also, for Contacts.apk, there's some private java action that's used to build it that makes it a ***** to theme. Currently, in order to do any xml edits, and still have a working apk, you have to build Contacts.apk from source. To my knowledge, it's the only system app that requires you to do that. I've been working on that recently, actually. If you want to check it out, I have a thread here:
http://forum.xda-developers.com/showthread.php?t=1737161
I have a few other mods and stuff in there but there's also a github link there in the OP if you want to see all of the edits I made to the Contacts.apk.
m4570d0n said:
This is not the correct method. What you have essentially done is changed Theme.Holo to Theme.Holo.Wallpaper, but in an inefficient way and in a way that affects all its derivative themes, which is most themes. If you want the transparent background effect, you should use Theme.Holo.Wallpaper, as that's what it's designed for. It takes the parent theme of Theme.Holo and adds the following overriding attributes:
Code:
<!-- Default holographic (dark) for windows that want to have the user's selected wallpaper appear behind them. -->
<style name="Theme.Holo.Wallpaper">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:colorBackgroundCacheHint">@null</item>
<item name="android:windowShowWallpaper">true</item>
</style>
Also, for Contacts.apk, there's some private java action that's used to build it that makes it a ***** to theme. Currently, in order to do any xml edits, and still have a working apk, you have to build Contacts.apk from source. To my knowledge, it's the only system app that requires you to do that. I've been working on that recently, actually. If you want to check it out, I have a thread here:
http://forum.xda-developers.com/showthread.php?t=1737161
I have a few other mods and stuff in there but there's also a github link there in the OP if you want to see all of the edits I made to the Contacts.apk.
Click to expand...
Click to collapse
This is my Styles.xml. I'm editing my framework-res.apk with Virtuous Ten Studio
Can you help to change my background and to make it transparent
Thanks you so much.
P.S. It is a stock ROM Eclair - XPERIA X8
Code:
<style name="Theme.Wallpaper" parent="@style/Theme">
<item name="windowBackground">@color/transparent</item>
<item name="windowShowWallpaper">true</item>
<item name="colorBackgroundCacheHint">@null</item>
</style>
<style name="Theme.Wallpaper.NoTitleBar" parent="@style/Theme.Wallpaper">
<item name="windowNoTitle">true</item>
</style>
<style name="Theme.Wallpaper.NoTitleBar.Fullscreen" parent="@style/Theme.Wallpaper.NoTitleBar">
<item name="windowContentOverlay">@null</item>
<item name="windowFullscreen">true</item>
</style>
<style name="Theme.WallpaperSettings" parent="@style/Theme">
<item name="windowBackground">@drawable/screen_background_dark_transparent</item>
<item name="windowIsTranslucent">true</item>
<item name="windowAnimationStyle">@style/Animation.Translucent</item>
<item name="colorBackgroundCacheHint">@null</item>
</style>
<style name="Theme.Light.WallpaperSettings" parent="@style/Theme.Light">
<item name="windowBackground">@drawable/screen_background_light_transparent</item>
<item name="windowIsTranslucent">true</item>
<item name="windowAnimationStyle">@style/Animation.Translucent</item>
<item name="colorBackgroundCacheHint">@null</item>
</style>
Zoidroid said:
Sorry but I have always used ICS on my devices, no experience about Eclair.
If Eclair have a framework-res.apk send it to me, I can try to help you.
Bye!
Click to expand...
Click to collapse
My framework-res attached
bobgeneric said:
My framework-res attached
Click to expand...
Click to collapse
I've made this 2 versions on framework-res basing on my experience in ICS, not sure if will work.
Make a nandroid backup, clear cache and dalvik cache and flash attached files. Try first with version1 and check result, if it don't make transparency (for example in android settings menu) try with version2.
Link: version1 version2
Zoidroid said:
I've made this 2 versions on framework-res basing on my experience in ICS, not sure if will work.
Make a nandroid backup, clear cache and dalvik cache and flash attached files. Try first with version1 and check result, if it don't make transparency (for example in android settings menu) try with version2.
Link: version1 version2
Click to expand...
Click to collapse
Thank you so much!!
But don't work :crying:
Code:
E: Error in /sdcard/version.zip
(status 0)
Well, can you explain what did you?
bobgeneric said:
Thank you so much!!
But don't work :crying:
Code:
E: Error in /sdcard/version.zip
(status 0)
Well, can you explain what did you?
Click to expand...
Click to collapse
This appear as error in flashable zip, perhaps the location of framework-res on Eclair is different from what I have indicate in the zip.
Open in and extract the framework.res.apk from system/framework and replace the original in your phone (make your own flashable zip, use adb, ...).
When I will have a free cuple of time I will report the code line I have changed.
Bye!
Zoidroid said:
This appear as error in flashable zip, perhaps the location of framework-res on Eclair is different from what I have indicate in the zip.
Open in and extract the framework.res.apk from system/framework and replace the original in your phone (make your own flashable zip, use adb, ...).
When I will have a free cuple of time I will report the code line I have changed.
Bye!
Click to expand...
Click to collapse
:crying: dude... don't work the system rebooting.
Well, better update.
Thank you so much, pal!
I have searched for transparency mod all over.... but couldn't find it.... decided to make it my self..... tried hard and come up with this when i was trying.......
Its simple work in almost all android versions..... this make almost all apps like root explorer, settings, music etc apps transparent
make backup before try this....!!!!
U need::::
* stock framework-res.apk
* apk manager or any other
* text editer like notepad++
* 7zip
* patience and GK
steps:::
decompile framework, in decompiled framework folder> res folder> values > styles.xml open it via notepad++ styles.xml is the key file, it control all apps layout and look.....
* in styles search for <style name="Theme"> this is the main theme layout... all app uses this.....
* under <style name="Theme"> search for <item name="colorBackground">@color/background_dark</item> now change this to <item name="colorBackground">@color/transparent</item> we are calling transparent color instead of dark which is inbuilt defined in color.xml in values folder.....
* now main part add <item name="windowIsTranslucent">true</item> in theme... means after <item name="colorBackground">@color/transparent</item>......... this line makes all app apps to be transparent....
Next there are two methods..........
first method :::
now make a transparent image save it as png file....... make sure it has correct resolution..... dont make full transparent it looks odd.....
save it and past in draweble mdpi or hdpi which ur device support..
now in styles.xml look for <item name="windowBackground">@drawable/screen_background_dark</item> below main theme....
change this to <item name="windowBackground">@drawable/"your image name"</item> add ur image name without ".....
save and close....
------OR-------
second method ::::
in styles.xml look for <item name="windowBackground">@drawable/screen_background_dark</item> below main theme....
change this to <item name="windowBackground">#80ffffff</item> or any other color hex code first two digits control transparency.....
save and close....
compile framework delete resources file in keep folder.... open stock framework (unedited) with 7zip,, amd open edited framework with 7zip...
drag and drop resources file and res folder from edited to unedited framework......
thets it... make flashable zip or adb push.........
ask me if u hav .......
Hit thanks if i helped U....... its free of cost......
Guys try this leav cmmnt if u face any prblm....
don't forgot hit thanx....
How to make transparent image?
Edward Cullen
Open a new file in adobe a dialog box will appear mak sure window background transparent selected add any image u want in this (copy past ) at da right side of da adobe window ther iz list of layers double click on image u pasted.... adjest opacity as u wish.... and save it as .png file..
don't forgot hit thanx....
akash akya said:
Open a new file in adobe a dialog box will appear mak sure window background transparent selected add any image u want in this (copy past ) at da right side of da adobe window ther iz list of layers double click on image u pasted.... adjest opacity as u wish.... and save it as .png file..
don't forgot hit thanx....
Click to expand...
Click to collapse
I will try and then tell you. But i have seen that most people make setting transparent and from there wallpaper is seen.
Edward Cullen
Yup this iz new method....
don't forgot hit thanx....
Using systemUI is much more easier
But nice one
Envoyé par mon LG-P500 chargée avec CM9
What about froyo
DJoptimus-One said:
Using systemUI is much more easier
But nice one
Envoyé par mon LG-P500 chargée avec CM9
Click to expand...
Click to collapse
Thnx ....... But Froyo doesn't have systemUI.apk............ so its good for froyo users...
akash akya said:
Yup this iz new method....
don't forgot hit thanx....
Click to expand...
Click to collapse
By this method also wallpaper will be seen?
Edward Cullen
akash akya said:
Thnx ....... But Froyo doesn't have systemUI.apk............ so its good for froyo users...
Click to expand...
Click to collapse
Well, i must say, not just froyo but i was just consulted by a member owning a SE device and this guide shall work on ICS too
Envoyé par mon LG-P500 chargée avec CM9
Avilove.Cullen said:
By this method also wallpaper will be seen?
Edward Cullen
Click to expand...
Click to collapse
Ya.... u can see background live wallpapers, dock... all.... if ter iz any app behind this it too visible.....
don't forgot hit thanx....
Hello you !
I want to do it for my MIUI I select any file to be able to do as you guide:fingers-crossed:
two option??
1 framwork fres.apk (of stock miui)
2 theme for Miui
pls help me
le_manhpro said:
Hello you !
I want to do it for my MIUI I select any file to be able to do as you guide:fingers-crossed:
two option??
1 framwork fres.apk (of stock miui)
2 theme for Miui
pls help me
Click to expand...
Click to collapse
U must use stock framework.apk ................. u can also do with theme but some time apktool gives plenty of error with thems.......... use stock framework for error free result........... report me after it works...
akash akya said:
U must use stock framework.apk ................. u can also do with theme but some time apktool gives plenty of error with thems.......... use stock framework for error free result........... report me after it works...
Click to expand...
Click to collapse
oke I will try, and feedback if it works or not tks again:victory:
I can't find this line in styles
look for now in styles.xml <item name="windowBackground"> @ drawable / screen_background_dark </ item> below the main theme ....
change this to <item name="windowBackground"> @ drawable / "your image name" </ item> add ur image name without ".....
Save and close ....
i have add file framework-res.apk
http://www.mediafire.com/?jp4h3jl1n01nehs
you can help me, thanks a lot
le_manhpro said:
I can't find this line in styles
look for now in styles.xml <item name="windowBackground"> @ drawable / screen_background_dark </ item> below the main theme ....
change this to <item name="windowBackground"> @ drawable / "your image name" </ item> add ur image name without ".....
Save and close ....
i have add file framework-res.apk
http://www.mediafire.com/?jp4h3jl1n01nehs
you can help me, thanks a lot
Click to expand...
Click to collapse
Hey search for window background only below theme.... ignore what evr may @draweble/blabla...... try if not works... then i ll c in framework afterwords...
Sent from my Micromax A60 using xda premium
Solved
le_manhpro said:
I can't find this line in styles
look for now in styles.xml <item name="windowBackground"> @ drawable / screen_background_dark </ item> below the main theme ....
change this to <item name="windowBackground"> @ drawable / "your image name" </ item> add ur image name without ".....
Save and close ....
i have add file framework-res.apk
http://www.mediafire.com/?jp4h3jl1n01nehs
you can help me, thanks a lot
Click to expand...
Click to collapse
Hey just decompiled ur framework......... in ur styles u have <item name="windowBackground">@color/mi_screen_background_dark</item>
No problem.......... change this to <item name="windowBackground">@drawable/"ur png image file name"</item> ...............
it must work........ try.... ask ur prblm if u hav.....
What is this Froyo you speak of? Is that what they use on the Motorola StarTac?
By the way, I'm not sure what it is you're trying to make transparent, but there's literally endless amounts of info, threads, apps, and themes out there for this for stock Gingerbread/ICS and any flavor of AOSP/CM9/AOKP/every other ROM out there.
All the info you need though is in styles.xml in framework-res.apk
A better method for transparent apps is to use a style with a parent style of Theme.Holo.Wallaper, and all of the derivatives of that style. It sets the background to your current wallpaper. You can also specify within the style the something like this:
Code:
<style name="DialtactsTheme" parent="@android:style/Theme.Holo.Wallpaper">
<item name="android:windowBackground">@drawable/semi_transparent_bg</item>
Then add a line in drawables.xml that says:
Code:
<item type="drawable" name="semi_transparent_bg">#60000000</item>
In this way, you have the transparent background but you can tint it so that it is a little darker, which makes it easier to theme for both light and dark wallapers/themes, adjusting the alpha value as you might need.
Also, there are many apps that use the image in framework-res at /res/drawable-nodpi/background_holo_dark.png as the background for the app. Changing that one image will change the background for apps like Titanium Backup, Root Explorer, Settings, etc.
.....But seriously, this information is literally everywhere already and it has been for quite some time.
m4570d0n said:
What is this Froyo you speak of? Is that what they use on the Motorola StarTac?
By the way, I'm not sure what it is you're trying to make transparent, but there's literally endless amounts of info, threads, apps, and themes out there for this for stock Gingerbread/ICS and any flavor of AOSP/CM9/AOKP/every other ROM out there.
All the info you need though is in styles.xml in framework-res.apk
A better method for transparent apps is to use a style with a parent style of Theme.Holo.Wallaper, and all of the derivatives of that style. It sets the background to your current wallpaper. You can also specify within the style the something like this:
Code:
<style name="DialtactsTheme" parent="@android:style/Theme.Holo.Wallpaper">
<item name="android:windowBackground">@drawable/semi_transparent_bg</item>
Then add a line in drawables.xml that says:
Code:
<item type="drawable" name="semi_transparent_bg">#60000000</item>
In this way, you have the transparent background but you can tint it so that it is a little darker, which makes it easier to theme for both light and dark wallapers/themes, adjusting the alpha value as you might need.
Also, there are many apps that use the image in framework-res at /res/drawable-nodpi/background_holo_dark.png as the background for the app. Changing that one image will change the background for apps like Titanium Backup, Root Explorer, Settings, etc.
.....But seriously, this information is literally everywhere already and it has been for quite some time.
Click to expand...
Click to collapse
Hey i hav searching for long time.... but all of them requires systemui.apk.... wich is not in froyo roms.... and what u mentioned <style name="DialtactsTheme" parent="@android:style/Theme.Holo.Wallpaper"> this also not there in froyo rom...... while i am trying with styles i come up with this..... thought to share it........ i agree it will make many apks transparent...
Sent from my Micromax A60 using xda premium
when i have deleted resources in edited framework then how will i get it in edited framweork ??
i am not getting resources in edited framework after compiling
Taking some time from theme to get all of this info out right now before I forget it. This is going to be a place to put system text edits and what they affect. Right now I only have a couple but will add to it as I go. As always feel free to add ones that you have found.
These mods were made by thebowers outside xda. I am sharing this with you
Click to expand...
Click to collapse
Things needed to accomplish these changes
Apk Manager
Click to expand...
Click to collapse
-
7-zip
Click to expand...
Click to collapse
Great tools for opening .apks and extracting them with out changing the extension.
framework-res.apk
Click to expand...
Click to collapse
from your phone (since it holds the system settings).
Getting started
Pull framework-res.apk from phone by using ADB or however you would like to do this.
Download and extract Apk Manager. I usually place this in the tools directory of the Android SDK. If you do this you need to set the environment path for the directory for aapt.exe of apktool.jar to work correctly.
Take the framework-res.apk and place it in the place-apk-here-for-modding folder withing the Apk Manager folder.
Click on Script.bat within the Apk Manager folder to open and run the tool.
Should ask you about clearing workspace and then something about finding ADB.Once you get passed those screens you should be at one that has number options.
For this walk through we are only concerned with the middle portion.
Now go to the Apk Manager folder and you should see an folder labelled "out". Open it to find your decompiled .apk
Go to the /res/values folder. Then go to a .xml file called styles.xml. Open this and any xml file that you decompile with notepad or notepad++
Select 9 and hit enter. It should tell you that it is decompiling the .apk. When it is done it will ask you to make a selection.
This is a big xml file which controls many aspects of the system. Don't worry I am not even going to try and explain things here. Just going to give you the areas I know and what to change.
Click to expand...
Click to collapse
Things within styles.xml that I know
First off is the text on buttons
Do a ctrl+f to bring up the find button.
Type widget.button and click find next. (hit find next 6 times)
You should now be at this portion of the .xml
Code:
<style name="Widget.Button" parent="@style/Widget">
<item name="textAppearance">?textAppearanceSmallInverse</item>
<item name="textColor" [user=403934]@Color[/user]/primary_text_light</item>
<item name="gravity">center</item>
<item name="background">@drawable/btn_default</item>
<item name="focusable">true</item>
<item name="clickable">true</item>
</style>
Where it says primary_text_light (black) change to primary_text_dark (white).
Also you could delete the whole @Color/primary_text_light and just put #ffff00ae as an example for the color code you desire.
If that is all you need save and look down for the completing instructions.
Next is the menu text (when you hit he soft key for menu)
Do ctrl + f and put in TextAppearance.Widget.IconMenu.Item and click find next.
You should now be at this area
Code:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimary</item>
</style>
Change textColorPrimaryInverse (black) to textColorPrimary (white and then black when pressed)
Also you could delete the whole ?textColorPrimary and just put #ffff00ae as an example for the color code you desire.
If that is all you need save and look down for the completing instructions.
Keyboard text (the actually text on the soft keyboard keys)
Do ctrl + f and put in Widget.KeyboardView and click find next twice
You should now be at this section
Code:
<style name="Widget.KeyboardView" parent="@style/Widget">
<item name="background">@drawable/keyboard_background</item>
<item name="shadowColor">#bb000000</item>
<item name="shadowRadius">2.75</item>
<item name="keyBackground">@drawable/btn_keyboard_key</item>
<item name="keyTextSize">22.0sp</item>
<item name="labelTextSize">14.0sp</item>
<item name="keyTextColor">#ffffffff</item>
<item name="keyPreviewLayout">@layout/keyboard_key_preview</item>
<item name="keyPreviewOffset">-12.0dip</item>
<item name="keyPreviewHeight">80.0dip</item>
<item name="verticalCorrection">-10.0dip</item>
<item name="popupLayout">@layout/keyboard_popup_keyboard</item>
</style>
Pretty simple, where it says keyTextColor, change that to whatever you want.
If you want to change the key text on the pop up or preview, that is located in /res/layout/keyboard_key_preview.
If that is all you need save and look down for the completing instructions.
Text highlight color
Do crtl + f and put (style name="TextAppearance") in the find box and click find next.
You should now be at this section.
Code:
<style name="TextAppearance">
<item name="textSize">16.0sp</item>
<item name="textStyle">normal</item>
<item name="textColor">?textColorPrimary</item>
<item name="textColorHighlight">#ffc0c0c0</item>
<item name="textColorHint">?textColorHint</item>
<item name="textColorLink">#ff5c5cff</item>
</style>
Just change the textColorHighlight to whatever color you desire.
If that is all you need save and look down for the completing instructions.
Edit Text (what shows when you type in any textfield like talk, facebook, twitter, and such)
Do crtl+F for Widget.EditText and hit find next twice.
You should now be at this area.
Code:
<style name="Widget.EditText" parent="@style/Widget">
<item name="textAppearance">?textAppearanceMediumInverse</item>
<item name="textColor" [user=403934]@Color[/user]/primary_text_light</item>
<item name="gravity">center_vertical</item>
<item name="background">@drawable/edit_text</item>
<item name="focusable">true</item>
<item name="focusableInTouchMode">true</item>
<item name="clickable">true</item>
</style>
Where is says primary_text_light, you can change it to primary_text_dark for white text. Otherwise just do this "textColor">#ffff0000< that code is for red. Just replace with what color you want.
If you are done save and continue to finishing instructions.
Lockscreen Text
This is located in the /res/layout folder as keyguard_screen_tab_unlock.xml and keyguard_screen_tab_unlock_land.xml.
To help out I have added a color values string to the text areas (they don't have them by default)
Grab the Lockscreen Text xmls.zip found at the bottom. Unzip
Open these files in a Hex editor like HxD.
Do a hex-string search of 08 00 00 1c. The first one is for a background color skip it.
The next eight are for the text on the screen. By default I have them set at FF FF FF FF for white.
Just remember in hex editing the color values are backwards. Save the files and add to your framework-res.apk.
I will add more later. Just wanted to get these out right now.
Completing the process
Once you are done with that file don't forget to save.
Go back to the Apk Manager grey command prompt window.
Do option 11 to compile the .apk. When that is done it will change from compiling .apk to asking you to make a decision.
Then do option 12 to sign the .apk. This is very important. Forgetting to do this will result in a boot loop.
Now go to place-apk-here-for-modding folder within the Apk Manager folder. There should now be a new file called repackaged-signed.apk . Move this file to the desktop or somewhere to rename. Rename to framework-res.apk.
You now have a new framework-res.apk with the edits you did. Either add images and what not that you want to it or go ahead and push to phone by using ADB, an update.zip, MM theme format, or move to sdcard and use Root Explorer.
If you are going to add images use 7-zip to open the .apk as an archive and navigate to the appropriate folder. I haven't tried it but you should be able to put the image file in the appropriate folder before doing option 11 to compile. Just keep in mind that if they are .9 images they will need the guides on them. Since the folders are decompiled images within them until compiled.
Enjoy your need settings. Again if you know of anything in this file or some other usefully system text edits in the framework-res.apk, let me know.
If you liked this thread Press thanks button and Rate this thread 5 stars and and pressTip US
reserved...............
Link To Some Of my Work!
How to update Baseband
How to change Android's background
How to use AROMA Installer
How to Downgrade Baseband
Theming Guide for changing system color settings
Custom ROMs
Backstreet MOD(Karbonn A5)
Some Other Important Threads
Walton Primo Gets ICS!
[Karbonn][A5][A7][Walton Primo]Official ICS released
[PETITION]Spice to release kernel source|GPLViolation|
[PETITION]Karbonn to release kernel source|GPLViolation|
Great bro (Y)
iHarkunwar said:
Great bro (Y)
Click to expand...
Click to collapse
now post my guides to your blog it will help many members and give a link to this thread also.
Re: [GUIDE]Theming Guide for changing system text settings
https://docs.google.com/file/d/0B-Fun5vx9M9xTzJYclJ0czVobTg/edit
Touchwiz add on for MMX JB
By mrmad
Credits
Smalldookie
Me
Sent from my Samsung GT-S9081 using xda app-developers app
How to edit lockscreen option, not the text, but options on swiping
Anami101 said:
How to edit lockscreen option, not the text, but options on swiping
Click to expand...
Click to collapse
for that you have to edit many xml's and .smalii files in framework-res.apk
can you add the petition to micromax to release kernel source to your signature too, so that we can get more signatures?
psychopac said:
can you add the petition to micromax to release kernel source to your signature too, so that we can get more signatures?
Click to expand...
Click to collapse
I can but that is not my work so i will put it seperately
thanks, that'd be great!
Re: [GUIDE]Theming Guide for changing system text settings
Nice guide thanks
收件人: [GUIDE]Theming Guide for changing system text settings
good man
Sent from my HTC X515d using xda premium
tzpm said:
good man
Sent from my HTC X515d using xda premium
Click to expand...
Click to collapse
Its time for updating the thread i found more things and will include in the thread soon
I really like all your guides but you never post credits to people from whom you have got this knowledge and that's really sad!
Do you know how to change the color of popup title?
iamareebjamal said:
I really like all your guides but you never post credits to people from whom you have got this knowledge and that's really sad!
Do you know how to change the color of popup title?
Click to expand...
Click to collapse
first of all this is my own work not a single word is copied
And I don't got you i gave credits to all people who deserves it
GuneetAtwal said:
first of all this is my own work not a single word is copied
And I don't got you i gave credits to all people who deserves it
Click to expand...
Click to collapse
Well, I can't find credits in all of the thread
And I didn't say you copied it
iamareebjamal said:
Well, I can't find credits in all of the thread
And I didn't say you copied it
Click to expand...
Click to collapse
I have given credits in my every Thread and i only credits those who really deserves or i don't credit them
Link me to any of my thread without any special thanks or credits ??
GuneetAtwal said:
I have given credits in my every Thread and i only credits those who really deserves or i don't credit them
Link me to any of my thread without any special thanks or credits ??
Click to expand...
Click to collapse
So may I think you learnt what is written in this thread all on your own?
Nabs Zains said:
So may I think you learnt what is written in this thread all on your own?
Click to expand...
Click to collapse
Yeah it is my hard work bro
Even most of my guides are based on simple topic which is easy but rare to find an answer for a Newbie thats why i made these guides but now as i am leaving XDA soon with the release of Best ROM i wont be making more guides which i had planned
Edit: When i was a noob no one was there to reply me i don't know why so with time i learnt everything about this green Creature (Android )
can some one help me decompiling systemUI.apk. this is the error im getting. i m also uploading my systemui.apk below
romeoofair said:
can some one help me decompiling systemUI.apk. this is the error im getting. i m also uploading my systemui.apk below
Click to expand...
Click to collapse
Are you sure you installed framework-res.apk and SemcGenericUxpRes.apk before decompiling?
I am using this tool here: http://forum.xda-developers.com/showthread.php?t=2326604
Have no problems at all (exempt some semc files like semcdlna)
Here is the decompiled file:
View attachment SystemUI.rar
DaRk-L0rD said:
Are you sure you installed framework-res.apk and SemcGenericUxpRes.apk before decompiling?
I am using this tool here: http://forum.xda-developers.com/showthread.php?t=2326604
Have no problems at all (exempt some semc files like semcdlna)
Here is the decompiled file:
View attachment 2237248
Click to expand...
Click to collapse
bro but these files are not matching with the files given in this link to make my statusbar and navigation bar transparent :crying:
romeoofair said:
bro but these files are not matching with the files given in this link to make my statusbar and navigation bar transparent :crying:
Click to expand...
Click to collapse
which link? Which tutorial are you following?
romeoofair said:
bro but these files are not matching with the files given in this link to make my statusbar and navigation bar transparent :crying:
Click to expand...
Click to collapse
Maybe you posted wrong files bro. I did the progress I always do
Sent using Honami Experience
gregbradley said:
which link? Which tutorial are you following?
Click to expand...
Click to collapse
this is the link i m following bro http://forum.xda-developers.com/showthread.php?t=2262268 . some of the files are not matching with em.
DaRk-L0rD said:
Maybe you posted wrong files bro. I did the progress I always do
Sent using Honami Experience
Click to expand...
Click to collapse
no bro i m using honami full framework http://forum.xda-developers.com/showthread.php?t=2411950 with quick settings toggles http://forum.xda-developers.com/showthread.php?t=2416839. when ever i flash this mod http://forum.xda-developers.com/showthread.php?t=2362510 . my settings are not working. as the mod i flash includes systemUI.apk which is replacing the one with quick settings. so i wanted to mod my statusbar and navigation bar manually. but i find the files different
romeoofair said:
no bro i m using honami full framework http://forum.xda-developers.com/showthread.php?t=2411950 with quick settings toggles http://forum.xda-developers.com/showthread.php?t=2416839. when ever i flash this mod http://forum.xda-developers.com/showthread.php?t=2362510 . my settings are not working. as the mod i flash includes systemUI.apk which is replacing the one with quick settings. so i wanted to mod my statusbar and navigation bar manually. but i find the files different
Click to expand...
Click to collapse
The file you posted is from the quick settings with toggles or the stock one?
Sent using Honami Experience
DaRk-L0rD said:
The file you posted is from the quick settings with toggles or the stock one?
Sent using Honami Experience
Click to expand...
Click to collapse
i posted the one which i got after flashing quick settings
romeoofair said:
i posted the one which i got after flashing quick settings
Click to expand...
Click to collapse
Which files are different mate?
Sent using Honami Experience
DaRk-L0rD said:
Which files are different mate?
Sent using Honami Experience
Click to expand...
Click to collapse
\SystemUI\res\layout\navigation_bar.xml and SystemUI\smali\com\android\systemui\statusbar\phon e\PhoneStatusBar.smali are different. i cant find <item type="drawable" name="status_bar_background">#5a000000</item> in navigation bar.xml and in 2nd one i was not able to find this
Find "showNav" (second result in Notepad++) or "mPixelFormat:I", this code. Green- Add:
Code:
.line 417
.end local v3 #showNav:Z
:cond_1
:goto_2
const/4 v5, -0x3 (or const/4 v9, -0x3 for Z)
iput v13, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPixelFormat:I.
romeoofair said:
\SystemUI\res\layout\navigation_bar.xml and SystemUI\smali\com\android\systemui\statusbar\phon e\PhoneStatusBar.smali are different. i cant find <item type="drawable" name="status_bar_background">#5a000000</item> in navigation bar.xml and in 2nd one i was not able to find this
Find "showNav" (second result in Notepad++) or "mPixelFormat:I", this code. Green- Add:
Code:
.line 417
.end local v3 #showNav:Z
:cond_1
:goto_2
const/4 v5, -0x3 (or const/4 v9, -0x3 for Z)
iput v13, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPixelFormat:I.
Click to expand...
Click to collapse
These are the different files between the one i decompiled and then one you decompiled, right?
Sent using Honami Experience
DaRk-L0rD said:
These are the different files between the one i decompiled and then one you decompiled, right?
Sent using Honami Experience
Click to expand...
Click to collapse
the one i posted is from the mod page. but the files u decompiled does not consist those lines.
romeoofair said:
the one i posted is from the mod page. but the files u decompiled does not consist those lines.
Click to expand...
Click to collapse
I will take a look again bro when I get back home.
Sent using Honami Experience
@romeoofair Here is the systemui decompiles liked i told you in the pm bro: )
View attachment SystemUI.rar
DaRk-L0rD said:
I will take a look again bro when I get back home.
Sent using Honami Experience
Click to expand...
Click to collapse
bro these are my files. maybe u bettter try with these
DaRk-L0rD said:
@romeoofair Here is the systemui decompiles liked i told you in the pm bro: )
View attachment 2239537
Click to expand...
Click to collapse
i ll try it now bro
DaRk-L0rD said:
I will take a look again bro when I get back home.
Sent using Honami Experience
Click to expand...
Click to collapse
bro. still its not matching with the files in that list. if you dont mind can you please make the status bar and navigation bar transparent using those files
HELLO EVERYONE !!!!! Earlier i was using ICS 4.0.4 phone So it was very easy to me and for everyone to change the background of our phone !!! but when i bought a jb 4.2 phone i dont know wat to do :crying::crying:
Then After searching and asking to Senior and Reco. Devs and Themers i figure out how to do it !!
I try to find guides on xda but dont find a working one !!
:good::good::good::good::good::good::good::good:
So here i am with my little and easy GUIDE !
You will need:
- apktool
- notepad++
- 7zip
- framework-res.apk from the ROM you're using
-Brain
-Knowledge of De-compiling and etc @@
1) Install framework-res.apk;
2) Decompile it;
3) Navigate to /framework-res/res/values/ and open styles.xml
HERE WE GO -
Search for:-
Code:
<item name="colorBackground">@color/background_dark</item>
and change it with:
Code:
<item name="colorBackground">@color/transparent</item>
STEP 2
Search Again -
Code:
<item name="windowBackground">@drawable/screen_background_selector_dark</item>
Change it to -
Code:
<item name="windowBackground">@drawable/yourbackgroundname</item>
4) Prepare a background (yourbackgroundname.png) and add it to framework-res/res/drawable-nodpi
NOTE;-- :good: your ""backgroundname.png "" can be replaced with your own name or any thing you want just write down your text in <item name="windowBackground">@drawable/hello</item> (FOR exp)
and place a image with name hello in no-dpi location !!!!
5) Recompile back and ... done
THANKS TO - EnricoD !
:good::good:
Enjoy !!!
:good:
DOnt forget to hit the like buttion if helped !!