Judul : KUMPULAN TABBED SYSTEMUI
link : KUMPULAN TABBED SYSTEMUI
KUMPULAN TABBED SYSTEMUI
KUMPULAN TABBED SYSTEMUI
1. 2 Parent Layout By San122
Original Link : http://forum.xda-developers.com/showthread.php?t=2629747
Original Link : http://forum.xda-developers.com/showthread.php?t=2629747
Screenshot 
- Download bahannya http://forum.xda-developers.com/attachment.php?attachmentid=2548182&d=1391067121
 - Extract lalu merge kedalam folder SystemUI
 
- Buka status_bar_expanded_header.xml
 - copy line ini di atas baris <Space ........./> lalu save
 
- Buka gemini_status_bar_expanded.xml
 - Copas ini
 
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
#tempatkan parent notification dan quickpanel disini
</FrameLayout>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
#tempatkan parent layout baru apapun disini
</ScrollView>
</com.panel.Panel>
- Contoh di JB 4.2.*
 
<ViewStub android:id="@id/flip_settings_stub" android:layout="@layout/flip_settings" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_row_min_height" />
</ScrollView>
</FrameLayout>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/new_layout_tab" />
</ScrollView>
</com.panel.Panel>
- Buat 1 file xml baru dengan nama new_layout_tab.xml lalu isi dengan ini
 
<LinearLayout android:gravity="center_vertical" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:text="ini adalah Layout baru" android:textSize="28.0dip" />
</LinearLayout>
- Save, Recompile lalu Decompile lagi
 - Masuk folder res/values
 - buka public.xml
 - Masuk folder smali/com/panel
 - Buka Panel.smali
 - cari 0x7f09004d lalu replace dengan no id new_panel sesuai public.xml
 - Buka Button.smali
 - cari 0x7f09004e lalu replace dengan no id new_btn sesuai public.xml
 - cari 0x7f020190 lalu replace dengan no id drawable btn sesuai public.xml
 - Save, Recompile, Sign, Push, Reboot
 
Original Link : http://forum.xda-developers.com/showthread.php?p=47109611
- Download bahannya https://www.dropbox.com/s/uz46qtosrzr42i9/TabSystemUI.zip
 - Extract lalu merge ke dalam folder SystemUI
 
- Buka status_bar_expanded_header.xml
 - copy line ini di atas baris <Space ........./> lalu save
 
<com.pineapple.TabUI.TabButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:weightSum="3.0" />
- Buka gemini_status_bar_expanded.xml
 - Copas ini
 
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
# Tempatkan Parent layout Notification dan Quickpanel disini
</LinearLayout>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/expanded_content2" /> <!-- Layout Kedua -->
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/expanded_content3" /> <!-- Layout Ketiga -->
</ScrollView>
</com.pineapple.TabUI.TabsContent>
- Contoh di JB 4.2*
 
<ViewStub android:id="@id/flip_settings_stub" android:layout="@layout/flip_settings" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_row_min_height" />
</ScrollView>
</FrameLayout>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/expanded_content2" /> <!-- Layout Kedua -->
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/expanded_content3" /> <!-- Layout Ketiga -->
</ScrollView>
</com.pineapple.TabUI.TabsContent>
- Save, Recompile lalu Decompile lagi
 - Masuk folder res/values
 - Buka public.xml
 - Masuk folder smali/com/pineapple/TabUI/*
 - Buka TabsContent.smali
 - cari 0x7f050001 lalu replace dengan no id tabbutton sesuai public.xml
 - Buka TabButtons.smali
 - cari 0x7f020001 lalu replace dengan no id drawable tab1 sesuai public.xml
 - cari 0x7f020002 lalu replace dengan no id drawable tab2 sesuai public.xml
 - cari 0x7f020003 lalu replace dengan no id drawable tab3 sesuai public.xml
 - Save, Recompile, Sign, Push, Reboot
 
Screenshot
- Download bahannya http://www.mediafire.com/download/2gmguw1euiofhev/dcsmsSystemUI.zip
 - Extract lalu merge ke dalam folder SystemUI
 
- Buka gemini_status_bar_expanded.xml
 - Copas ini
 
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
# Tempatkan Parent Layout Notification & Quickpanel disini
</FrameLayout>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
# Tempatkan Parent layout apapun disini
</ScrollView>
<LinearLayout android:orientation="horizontal" android:id="@+id/layout_button" android:background="@drawable/quickpanel_plmn_background" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:weightSum="1.0">
<Button android:gravity="center" android:padding="5.0dip" android:layout_width="120.0px" android:layout_height="wrap_content" android:text="Notif" android:layout_weight="0.5" style="@style/Dcsms.Buttons" />
<Button android:gravity="center" android:padding="5.0dip" android:layout_width="120.0px" android:layout_height="wrap_content" android:text="About" android:layout_weight="0.5" style="@style/Dcsms.Buttons" />
</LinearLayout>
</in.jmkl.dcsms.statusbargreper.NotificationLayout>
*Notif dan About bisa diubah sesuai keinginan
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<ViewStub android:id="@id/flip_settings_stub" android:layout="@layout/flip_settings" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
<include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/alwi_barbright" />
</ScrollView>
</FrameLayout>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/alwi_tab2" />
</ScrollView>
<LinearLayout android:orientation="horizontal" android:id="@+id/layout_button" android:background="@drawable/quickpanel_plmn_background" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:weightSum="1.0">
<Button android:gravity="center" android:padding="5.0dip" android:layout_width="120.0px" android:layout_height="wrap_content" android:text="Notif" android:layout_weight="0.5" style="@style/Dcsms.Buttons" />
<Button android:gravity="center" android:padding="5.0dip" android:layout_width="120.0px" android:layout_height="wrap_content" android:text="About" android:layout_weight="0.5" style="@style/Dcsms.Buttons" />
</LinearLayout>
</in.jmkl.dcsms.statusbargreper.NotificationLayout>
- Contoh di JB 4.2*
 
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<ViewStub android:id="@id/flip_settings_stub" android:layout="@layout/flip_settings" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
<include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/alwi_barbright" />
</ScrollView>
</FrameLayout>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/alwi_tab2" />
</ScrollView>
<LinearLayout android:orientation="horizontal" android:id="@+id/layout_button" android:background="@drawable/quickpanel_plmn_background" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:weightSum="1.0">
<Button android:gravity="center" android:padding="5.0dip" android:layout_width="120.0px" android:layout_height="wrap_content" android:text="Notif" android:layout_weight="0.5" style="@style/Dcsms.Buttons" />
<Button android:gravity="center" android:padding="5.0dip" android:layout_width="120.0px" android:layout_height="wrap_content" android:text="About" android:layout_weight="0.5" style="@style/Dcsms.Buttons" />
</LinearLayout>
</in.jmkl.dcsms.statusbargreper.NotificationLayout>
- Masuk folder res/values
 - Buka styles.xml
 - Masukkan ini di paling bawah sebelum </resources>
 
<item name="android:textStyle">bold</item>
<item name="android:textColor">#ff000000</item>
<item name="android:background">@drawable/btn_default_small</item>
</style>
- Save, Recompile, Sign, Push, Reboot
 
Demikianlah Artikel KUMPULAN TABBED SYSTEMUI
Sekianlah artikel KUMPULAN TABBED SYSTEMUI kali ini, mudah-mudahan bisa memberi manfaat untuk anda semua. baiklah, sampai jumpa di postingan artikel lainnya.
Anda sekarang membaca artikel KUMPULAN TABBED SYSTEMUI dengan alamat link http://akatog.blogspot.com/2015/02/kumpulan-tabbed-systemui.html



0 comments:
Post a Comment