[Guide] how to theme unthemed app - Android General

hello xda devs
from very first i would like to say im really big fan of white theme i dont like black backgroud so i was looking for guide i found guides for apps having styles.xml
and in androidmanifest.xml some codes but for what that which app dont use any both of these so many apps donsent use theming code so for that i made this guide with this you can use white theme and mod the app so lets start
things you need
apk decompiler and recompiler for ex (apktool , apktool for android , apk manager , etc
and any text editor
decompile app that you want to theme it to white
note: this is only for those apps that do not use theme codes in style.xml and
androidmanifest.xml
so how is it possible to theme that app ?
answer is so simple just add a little code to androidmanifest.xml
open androidmanifest.xml and look for
<activity
android:label="@strings/example
if you found it [example is only for example it may diffrent in apps so i keep it example
see the images and just below that code add this code
android:theme="@*android:style/Theme.Holo.Light"
or you can also use this
android:theme="@*android:style/Theme.DeviceDefault.Light"
see images below
Before adding code
View attachment 2548446
After adding code
View attachment 2548448
what's next ?
youre done
now recompile and sign it
I have used sony smart key from play store
View attachment 2548455
{
"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"
}
credits = @akashpillai
note: if you use this guide please give proper credits
enjoy
dont forget to hit thanks button

i like black one. still hit thanks for helpful post
Sent from my ST23i using XDA Premium 4 mobile app

great guide broda

Related

[Mod][CM7] Transparent Status Bar

This is actually part of http://forum.xda-developers.com/showthread.php?t=1102755 I was part of the testers and gave them my systemUI and framework.
http://dl.dropbox.com/u/11560058/patch(1).zip
( CM7.0.3 only, maybe nightlies or older versions might work, I'm not sure. )
{
"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"
}
Launcher Pro - Only works with Live Wallpaper, if normal wallpapers you'd have to Hide notification bar at Appearance Settings
Adw Launcher - Disable Wallpaper Hack
Go Launcher - No problems
GB Launcher - No problems
Arc Launcher - No problems ( I use this. Looks better and feels better than all others. )
This is how to make this patch work with other themes.
1 : Pull theme APK from device ( titanium backup would work fine )
2 : Unpack the APK
3 : Make a semi transparent 480x38 png named statusbar_background2 and place it in /Res/Drawable-HDPI ( it does not have to replace the old statusbar background. ) It can have textures or just transparent. This part is up to you.
3 : Go into /Res/XML and find com_android_systemui.xml and open with a text editor.
4 : Find the lines
<item name="drawable/statusbar_background">@drawable/com_android_systemui_statusbar_background</item>
<item name="drawable/statusbar_background2">@drawable/com_android_systemui_statusbar_background</item>
Click to expand...
Click to collapse
and change it to
<item name="drawable/statusbar_background">@drawable/com_android_systemui_statusbar_background</item>
<item name="drawable/statusbar_background2">statusbar_background2</item>
Click to expand...
Click to collapse
( Change the item name to the png you've made )
Then repack your apk and install and apply. Should work! if it does not, contact me.
Once again this flashable zip file belongs to ZduneX25 and not me. Make sure to check out the original thread

[APP][2.+][EsromG5] Mad Rom Info

Hello friends, this app is nothing so advanced, but I think at least the modifiers like roms and developers can use in their custom roms and thematic roms.
It is open source written by me in eclipse and am releasing so you can modify the apk by apktool, apk manager and other of your choice.
They can do whatever they want this app, it will let you all possible information your rom .... I'll let some pictures so that they can understand the application and what the intention that I left it open for all to do what it wants.
Here I leave my free source for you who also want to use eclipse and increase other forms, remember to share your results, and help one another, source
If you want this application to your language, just translate the string and send me. HERE
Downloads and changelog application
version 0.1 - Download HERE
Initial source, just testing to see their freedom
How to use?
You will decompile it with apktool or some of your own, even if you use eclipse you can use straight from the source github.
After that, you simply modify the desired lines with text that you need ...
Remember that only modificas lines of string, which is inside - "> <" - https://github.com/EsromG5/apps_package_MadRomInfo/blob/master/res/values/strings.xml
I would ask that no changes to the application version and the developer of the same name, may be the most at ease.
If you did some function or feature that does not exist in the application, please share, it helps to improve this simple apk.
ScreenShot application without modification:
{
"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"
}
ScreenShot application already modified with an example:

[TOOL][Windows][Updater-script]-echoT Scripter-[v1.1]

EchoT Scripter
v1.0 ​
Description :
It's a small program i made for myself to create updater-script easily .
Require:
jre 7 .
Features :
Select box operations.
Set permission calculator.
Symlink from files in a folder OR files' names on txt file.
Batch operations.
Editable text field so you can edit whatever you want.
Upcoming features :
Add busybox installation .
Add busybox run tools .
Your suggestion ?!
v1.1 :
Added read from file.
Now it's exe file .
Icon added.
Windows look and feel.
Minor String edit.
Screenshots :
{
"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"
}
Download
http://goo.gl/9gcRP​
**Note : you have to revise the script because it's still in the early version .As there's no regex for any input strings,
or an app bug,, don't blame me for throwing your phone from the window
res
Re: [tool][Windows][Updater-script]EchoT Scripter
I think this might be worth a look.....
Thanks for sharing
Sent from my GT-I9300 using xda premium
Nice app dude! Really helpful for dualboot maniacs as me. xD
911-Future_Maker said:
Nice app dude! Really helpful for dualboot maniacs as me. xD
Click to expand...
Click to collapse
yes the idea was to make symlink easily for dualbooting so i need something like that
v1.1 :
Added read from file.
Now it's exe file .
Icon added.
Windows look and feel.
Minor String edit.

[ICS] Conversation - New era of smileys! [MOD][Update]

Hello everyone..... Long time no see developers !!
If you are bored on old smileys try this one...
You ll enjoy this..... :highfive:
*********Kindly back up your old conversations.apk and messages********
HIT THANKS if u like it Hope u like it
-----------------------------------------------------------------------------------------------------------
Procedure to install :
********Download the apk for your model and rename it to "Conversations.apk" *****
****The app with no parenthesis is for TIPO , MIRO and GO..
1. Open “system/app/”
2. Copy and replace the existing Conversations.apk with the new one.
3. Set the permissions to rw-r--r--
4. Restart the device
5. Go to messages and see a transformations.... Enjoy....
------------------------------------------------------------------------------------------------------------
Screenshots:
{
"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"
}
---------------------------------------------------------------------------------------------------------------
NOTE: Only you can see those new smileys..... The people on other side will see the smileys as same as in their device....
If u want them to enjoy, then install this application on there device....
---------------------------------------------------------------------------------------------------------------
Works fine with Tipo.......
It should also work with miro,go, j and all ICS based xperias' .....
Known Issues: this issue is nothing but a small gap (two line breaks) appears in some messages..
Hit THANKS…… If u like it …
Do not thank in posts!!! Instead hit the THANKS BUTTON...
.......
Sent from my ST26i using xda app-developers app
i liked that minion one
Can anyone tell me please on how did you change the background wallpaper of the conversations?

[MOD][GUIDE]Samsung's data connection animation on any phone. No SMALI, XML editing!

Hi guys,Want this? :silly:
{
"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"
}
​So, I'm here with a guide that is ver very simple to follow even for noobs.
You just have to replace the respective .png images that I've provided below in your phone's SystemUI.apk to get that on your phone.
So let's start :victory:
:angel:BEFORE YOU START, PLEASE TAKE BACKUP:angel:
​ Requirements:
Apk-tool or Apk-multitool for decomipling
A good brain:silly:
7-zip for extracting APKs.:fingers-crossed:
Guide:
1. Extract or decompile your systemui.apk with APKtool or APKmulti tool, whatever you prefer.
2. Go in the folder-
systemui.apk/res/drawable-hdpi
Click to expand...
Click to collapse
Note that for me it's drawable-hdpi because my device is WVGA. It may chage as drawable-ldpi or mdpi or xhdpi or xxhdpi with respect to your screen's reolution.
3. Search for the images that show up olverlapped on the signal bar's images when data connection is on.
If you're using a AOSP or simillar rom, you will easily get them.
It's name is generally "stat_sys_data_inout.png"
Click to expand...
Click to collapse
4. Now replace those three pngs with the one I've atached below.
5. Now you've to search for the "E" or "H" that appears on the top of your signal indicatior in staus bar of your device.
Go in the same folder as above and search for the image,
Generally its name it"stat_sys_data_fully_connected.png" for 2G EDGE and for 3G its like "stat_sys_3g_fully_connected.png"
6. Now jst replace the "E" and "H" images that you see there with the ones in the attachment
7. Maybe you'll have to do some modifications in the .png images according to your screen sizes, If you can do it, do it.
If you can't , ask a friend Please don't message me for help. I don't get much time to do that work. Please
Cheeers. If you have any problems, reply to this thread or PM me

Categories

Resources