Alat dan bahan
1.apktool
2.winrar/7zip
3.notepad++
4.SystemUI.apk
langsung aja ni caranya:
1.decompile systemui.apk
2.masuk folder/res/layout/status_bar_expanded.xml
3.buka statusbar.xml dengan notepad++
4.paste code ini dibawah </FrameLayout> <include layout="@layout/qp_brightness" />
5.jadinya kaya gini
<include layout="@layout/zzz_toolbar_indicator" />
</FrameLayout>
<include layout="@layout/qp_brightness" />
6.kemudian buka zzz_status_bar_expanded_gemini.xml dengan notepad++
7.paste code ini dibawah </FrameLayout> <include layout="@layout/qp_brightness" />
<include layout="@layout/zzz_toolbar_indicator" />
</FrameLayout>
<include layout="@layout/qp_brightness" />
8.masuk folder res/values/ids.xml
9.copy kode ini di atas </resources>
<item type="id" name="title">false</item><item type="id" name="brightness">false</item>
<item type="id" name="automatic">false</item>
10.jadinya kaya gini
<item type="id" name="title">false</item><item type="id" name="brightness">false</item>
<item type="id" name="automatic">false</item>
</resources>
11.masuk folder/res/values/string.xml
12.copy kode ini di atas </resources>
<string name="brightness_settings_title" /><string name="brightness_settings_automatic" />
13.jadinya kaya gini
<string name="brightness_settings_title" /><string name="brightness_settings_automatic" />
</resources>
14.download file smali dan soursenya di sini!!!
15.compile systemui.apk
16.replace ke system/app2 .Membuat CarrierLabel di atas statusbar close
Alat dan bahan
1.apktool
2.winrar/7zip
3.notepad++
4.SystemUI.apk
langsung aja ni caranya:
1.decompile systemui.apk
2.masuk folder/res/layout/status_bar_tracking.xml
3.buka status_bar_tracking.xml dengan notepad++
4.cari code
<com.android.systemui.statusbar.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
5.kemudian copy code ini dibawahnya
<com.android.systemui.statusbar.CarrierLabel android:textSize="18.0dip" android:gravity="center" android:layout_gravity="bottom" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="24.0dip" />
6.compile systemui.apk
7.move ke system/app
3.cara menyembunyikan statusbar saat di tarik kebawah
Alat dan bahan
1.apktool
2.winrar/zip
3.notepad++
4.SystemUI.apk
langsung aja caranya:
1.decompile systemUi.apk
2.masuk folder res/layout/statusbar.xml
3.buka statusbar.xml dengan notepad++
4.copy kode <com.android.systemui.statusbar.DateView blablabla....
5.ganti dengan ini
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="center" android:id="@id/date" android:background="@drawable/statusbar_background2" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
6.kemudian copy/paste statusbar_background.9.png dan hasil copy rename jadi statusbar_background2.png7.compile systemui.apk
8.replace ke system/app
9.selesai...
3.cara menambah Shortcut di statusbar expanded
Alat dan bahan
1.apktool
2.winrar/zip
3.notepad++
4.SystemUI.apk
langsung aja caranya:
1.decompile systemUi.apk
2.masuk folder res/layout/status_bar_expanded.xml
3.buka status_bar_expanded.xml dengan notepad++
4.cari kode
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="?android:textAppearanceLarge" android:textColor="#ffdfdfdf" android:layout_gravity="center_vertical" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
5.paste code ini dibawahnya
<ImageView android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:onClick="settingsButton" />
6.buka zzz_status_bar_expanded_gemini.xml dengan notepad++
7.cari code
<com.android.systemui.statusbar.CarrierLabelGemini android:textAppearance="?android:textAppearanceLarge" android:textSize="16.0sp" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/plmn2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" android:layout_weight="1.0" />
8.copy code ini dibawahnya
<ImageView android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:onClick="settingsButton" />
9.kemudian buka folder smali/com/android/systemui/statusbar/StatusBarService.smali
10.buka StatusBarService.smali dengan notepad++
11.cari code
# virtual methods
12.copy kode ini dibawahnya
.method public settingsButton(Landroid/view/View;)V
.locals 3
.parameter "v"
.prologue
.line 1717
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v0
new-instance v1, Landroid/content/Intent;
const-string v2, "android.settings.SETTINGS"
invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
const/high16 v2, 0x1000
invoke-virtual {v1, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
invoke-virtual {p0}, Lcom/android/systemui/statusbar/StatusBarService;->animateCollapse()V
.line 1720
return-void
.end method
13.download soursenya disini!!
14.compile systemui.apk
15.move ke system
16.selesai
Tidak ada komentar:
Posting Komentar