Академический Документы
Профессиональный Документы
Культура Документы
1. APK MANAGER
2. 7zip
Senior Member |OP|
DESCRIPTION :
Posts: 194
Join Date: Oct 2010 Q : Basic
A : The icons are stored in the Drawable-mdpi folder in the framework.
these icons are linked to XML's in Drawable folder
if you just add the icons and don't change the xml, you'll get nothing.
BASIC :
if you want to add pngs like the battery percentage you'll need to link the png to the xml file
this can be done by two ways
1. assigning resource_id
&
2. directly putting in the names
just find the xml file corresponding to the png and than simply add the name.
for eg.
here the
android:drawable is the android code
and
@drawable/stat_sys_battery_* is the file location
if you try to edit any modded framework file you'll get error while compiling.
and your phone will hang if you use that file.
SOLUTION
instead of using modded file. use the STOCK framework. Edit your files and compile your
now when you compile it, it will give you few options
open the folder and delete all the files you modified.
if you had modified xml file you'll also need to delete resources.asrc
PS : IT WOULD BE UNSIGNED
LAST STEP :
open the compiled unsigned apk and extract all the files you edited (including resources.
simply replace these files in the framework-res.apk you wanted to mod
only part to take care is the resources.asrc file you don't have to replace it directly
I know this all seems way to complex but if you read care
it step by step, its all easy as a PIE
Attached Files
stat_sys_battery.zip - [Click for QR Code] (829 Bytes, 80 views)
__________________
no more updates from my side.
kindly don't waste your time replying in my topics.
The Following 2 Users Say Thank You to suhel28 For This Useful Post: Show/Hide
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
Forum Rules
All times are GMT +1. The time now is 08:09 AM.