How to edit activity tltle bar on ICS and JB (CM9/CM10/CM10.1)

Posted by Unknown Jumat, 24 Januari 2014 0 komentar
Screenshot :
Before :



After :





a. Decompile framework-res.apk

b. Go to framework-res folder/res/drawable-hdpi (or mdpi/xhdpi). and search *.png file with name :

- ab_bottom_solid_dark_holo.9.png
- ab_solid_dark_holo.9.png
- ab_stacked_transparent_light_holo.9.png
- ab_transparent_dark_holo.9.png
- ab_transparent_light_holo.9.png

c. replace all *.9.png file with your favorit *.9.png (Recommended resolution is 720x100 for XHDPI, or download source png for example from my theme Green Rocker CM10 on attachment)

d, Recompile

e. if you want to change too setting icon on title bar, just decompile settings.apk and go to settings/res/drawable-***dpi and change ic_launcher_settings.png and recompile.







2. How to change quick settings background on CM10.1


Screenshot :

Before :



After :




a. Decompile SystemUI.apk

b. Go to SystemUI\res\drawable and open qs_tile_background.xml using notepad ++

Change this line :


Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<color android:color="#ff212121" />
</item>
<item>
<color android:color="#ff161616" />
</item>
</selector>
To :


Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/qs_tile_background_pressed" />
<item android:drawable="@drawable/qs_tile_background_normal" />

</selector>
c. Add source 2 *.png file to drawable-xxxxdpi folder with name (you are free to choose any image including transparent) :
- qs_tile_background_pressed
- qs_tile_background_normal

d. Recompile








TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: How to edit activity tltle bar on ICS and JB (CM9/CM10/CM10.1)
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke https://androidapple7.blogspot.com/2014/01/how-to-edit-activity-tltle-bar-on-ics.html. Terima kasih sudah singgah membaca artikel ini.

0 komentar:

Posting Komentar

Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of android apple.