Posted by : Derry Adrian Jumat, 27 Juni 2014

share nih cara tambah jellyheader :)

ss :





Bahan : 

Tutorial :
1.Decompile systemui.apk
2.taro isi dari jbstyle pada tempat nya
3.buka res/layout/statusbar_expanded.xml
4.Di bawah kode ini 

xmlns:android="http://schemas.android.com/apk/res/android">

tambah kode ini di bawah kode di atas

<RelativeLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="50.0dip" android:baselineAligned="false">
<include layout="@layout/keur_tanggal_simple" />
</RelativeLayout>
 

5.Save...lalu buka res/values/ids.xml...tambah kan ini sebelum </resources> 

tambah ini

<item type="id" name="timeDisplayForeground">false</item>
<item type="id" name="timeDisplayBackground">false</item>
<item type="id" name="clockdate">false</item>
<item type="id" name="clock">false</item>
 

6.buka values/strings.xml....sebelum </resources> tambah ini

<string name="status_bar_date_formatter">"%2$s
%1$s"</string>
 

7.Save...lalu buka values/styles.xml....sebelum </resources> tambah ini

<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">13.0dip</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">#ffffffff</item>
</style>
<style name="TextAppearance.StatusBar.Expanded.Clock" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">35.0dip</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">#ffffffff</item>
</style>

8.Recompile ui lalu decompile lagi
9.Buka res/values/public.xml
10.Buka smali/com/android/systemui/statusbar/policy/DigitalClock

cari ini
0x7f0b0036 <<< replace dengan id kode timeDisplayBackground

cari ini 
0x7f0b0035<<< replace dengan id kode timeDisplayForeground

11.lalu buka smali/com/android/systemui/statusbar/policy/Dateview

cari ini
0x7f090010<<< replace dengan id kode strings status_bar_date_formatter

12.Kalo sudah semua recompile ui
Sumber :
http://forum.xda-developers.com/showthread.php?t=2736622

   

 



Leave a Reply

Subscribe to Posts | Subscribe to Comments

Anda Pengunjung Ke

Diberdayakan oleh Blogger.

Yang Udah ane posting

Copyright © Oprekan Galaxy Young S5360 -Opreaker Samsung S5360- Powered by Blogger - Designed by Johanes Djogan