Tutorial Flyme UI
Syarat-Syarat :
- Punya HH lah pastinya
- Framework-res.apk
- SystemUI.apk
- Apktool
- FILE
Mengerti Decompile dan Recompile
Tutorial :
INGAT "backup dulu sebelum edit sesuatu"
DWYOR "Do With Your Own Risk"
DWYOR "Do With Your Own Risk"
>>>decompile framework-res.apk...masuk ke folder res->value..-> dimen.xml..cari line dibawah ini samakan jadi seperti ini..
<dimen name="status_bar_height">40.0dip</dimen>
<dimen name="status_bar_icon_size">20.0dip</dimen>
>>>decompile SystemUI.apk...klo udah selesai buka >res>layout> cari statusbar.xml...
>>>trus copy line ini :
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<AnalogClock android:gravity="left" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="2.0dip" android:dial="@drawable/a_circle" android:hand_hour="@drawable/a_hour" android:hand_minute="@drawable/a_minute" android:layout_centerVertical="true" />
<com.android.systemui.statusbar.policy.DateView android:textSize="15.0sp" android:textColor="#ffffffff" android:gravity="left" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<FrameLayout android:gravity="center" android:layout_gravity="right" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="0.0dip" android:layout_weight="1.0">
<com.android.systemui.statusbar.IconMerger android:gravity="right" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="0.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginBottom="2.0dip" />
</FrameLayout>
<FrameLayout android:layout_gravity="right" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="0.0dip" android:layout_weight="1.0">
<LinearLayout android:gravity="right" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="center_vertical" android:layout_gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
</LinearLayout>
</FrameLayout>
</LinearLayout>
</LinearLayout>
>>>Diatas <LinearLayout android:orientation="horizontal" android:id="@id/ticker"
kemudian Save..
>>>sehingga menjadi seperti ini lah kira2...
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="@drawable/deuge_statusbarbg" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:typeface="serif" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" />
<com.android.systemui.statusbar.policy.DateView android:textSize="15.0sp" android:textColor="#ffffffff" android:gravity="left" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<FrameLayout android:gravity="center" android:layout_gravity="right" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="0.0dip" android:layout_weight="1.0">
<com.android.systemui.statusbar.IconMerger android:gravity="right" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="0.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginBottom="2.0dip" />
</FrameLayout>
<FrameLayout android:layout_gravity="right" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="0.0dip" android:layout_weight="1.0">
<LinearLayout android:gravity="right" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="center_vertical" android:layout_gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
</LinearLayout>
</FrameLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker" android:textColor="#ffff1d1a" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker" android:textColor="#ffff1d1a" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="center_horizontal" android:id="@id/date" android:background="@drawable/deuge_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:scaleType="center" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
>>>Copy File gambar yg tdi didownload ke res>drawable-ldpi..
Kemudian recompile....pastikan tidak error..klo error cek lagi errornya dimana,lalu perbaiki :-)
setelah selesai recompile lalu sign..push ke System Framework-res.apk n SystemUI.apk..set permission r-w-r-r..
Happy Modding
---Thanks to :
Allah SWT
All Mastah and Member Group Galaxy Young GT-S5360 on Facebook
XDA
Jika Anda Punya Pertanyaan, Silahkan Anda Bertanya Di Kolom Komentar" , " Jika Ada Broken Link, Silahkan Anda Beritahu Kami Lewat Kolom Komentar "
Jika Anda Punya Pertanyaan, Silahkan Anda Bertanya Di Kolom Komentar" , " Jika Ada Broken Link, Silahkan Anda Beritahu Kami Lewat Kolom Komentar "
0 Response to "Tutorial Flyme UI"
Posting Komentar