Go Back   Android Forums > Android Discussion > Android Themes
Android Themes Customize the look/feel of your Android with wallpaper, icons, graphics and more!

test: Reply
 
LinkBack Thread Tools
Old August 15th, 2010, 08:34 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Aug 2010
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Surprised Creating a custom battery meter?

Hey guys. I'm new to the droid, and have been messing around with making my own first theme. One of the questions I have is how do I create my own custom battery meter? It looks like it can be done, since I've seen others available for download, such as a disk icon or percentage. But none of the ones available are what I'm really looking for. So if there is a way for me to actually make one of my own design, where would I begin? Thanks

Advertisements
clmaz is offline  
Reply With Quote
sponsored links
Old August 27th, 2010, 04:04 AM   #2 (permalink)
New Member
 
Join Date: Mar 2010
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is how you modify some icons/graphics:
*backup with nandroid first*

1. Pull the framework-res.apk file:
Code:
$ adb pull /system/framework/framework-res.apk
2. Extract the apk file with archiving program (winzip or tugzip)
* keep original framework-res.apk handy for later *

3. The images you are looking for are in /res/drawable-hdpi

4. Modify your images as you like.

5. Once you had all the images ready, open up the original copy of the framework-res.apk file with (winzip or tugzip), drag and drop your new
images into the correct directory. Close archiving application.(The purpose of just dropping the images into the apk file is to save you time of having to repackage the extracted framework-res.apk file and having to sign it)

6. Push the apk file back to the phone:
Code:
$ adb push framework-res.apk /system/framework/
(you may need to make the /system partition writable)
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
7. Once the file is copied you will see some apps on your phone die, like android market. Just reboot your phone and you should see your new images.

Note: Check out google dev site for info on the Draw 9-Patch.
Draw 9-patch | Android Developers

Hope this helps.
triki is offline  
Reply With Quote
Old September 5th, 2010, 08:53 AM   #3 (permalink)
 
Join Date: Sep 2010
Location: USA
Posts: 15
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

I am looking for this also!

Thank you so much!
jamesreilly is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Discussion > Android Themes
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:39 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.