Kamis, 05 November 2015

Simple Expanded

ini doc cuma buat meringkas expanded aja sih .. gak penting" amat tapi nubi macam ane akan terbantu dengan adanya ini doc buat nyusun systemui yang mau dbikin 2 layout, 3 layout, 4 layout dll.
oke kita langsung ke teekaapehhh ...

1.decompile systemui stock

2.buka status_bar_expanded.xml pake notepad++(link >> http://notepad-plus-plus.org/download/ )

3.buat xml baru dengan nama seterah anda, sebagai contoh ane buat notification.xml ..

4.lihat line 1 pada status_bar_expanded.xml copy line tersebut ke notification.xml di line pertama

5.lihat line 4 pada status_bar_expanded.xml move line tersebut ke notification.xml di line 2, lalu hapus sysmbol terakhir ">"

6.lihat line 3 pada status_bar_expanded.xml copy line tersebut ke notification.xml di line 3

7.lihat ScrollView sampai /FrameLayout pada status_bar_expanded.xml move semua line tersebut ke notification.xml dibawah xmlns:android="http://schemas.android.com/apk/res/android"

8.tengok status_bar_expanded.xml paste ini dibawah xmlns:android="http://schemas.android.com/apk/res/android"

<include layout="@layout/notification" />

save status_bar_expanded.xml dan notification.xml tadi difolder layout tentunya ..

compile & push


kridit : All member Official Group Galaxy Y GT-S5360 (baik yang masih menghuni maupun yang udah gak)

Tidak ada komentar: