Guide Fix FBUI/TWITTERUI misah dengan Quickpanel



Lagi asik browsing ga sengaja ketemu postingan lama (7 April 2014) tentang Cara Memisahkan FB UI dengan Quicksettings / Quickpanel



Download Guidenya

Easy Earn $2 daily
Download via Mediafire


monggo dicoba bagi yang mengikuti guide dari doc sebelumnya.
tolong feedbacknya berhasil/tidak. _/|\_



Fix Layout Quickpanel pisah TwitterUI
tutor by Yanu Abi Alwi M.A.A.a.D FB Group

- Decompile SystemUI.apk
- masuk folder res/layout
- buka gemini_status_bar_expanded.xml


- hapus baris ini
Code:
<include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/alwi_barbright" />


- Perhatikan blok 3 parent ini
Code:
<com.b16h22.statusbar.MultiPanelFlipper android:id="@+id/markmellarpes_multi" android:layout_width="fill_parent" android:layout_height="wrap_content">
    <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">
            <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/alwi_tab1" />
    </ScrollView>
    <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>
</com.b16h22.statusbar.MultiPanelFlipper>



- hapus baris ini

Code:
<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" />


- ganti dengan

Code:
<include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/alwi_barbright" />


- hapus
Code:
<com.b16h22.statusbar.MultiPanelFlipper android:id="@+id/markmellarpes_multi" android:layout_width="fill_parent" android:layout_height="wrap_content">


- dan
Code:
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/alwi_tab1" />
</ScrollView>
<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>
</com.b16h22.statusbar.MultiPanelFlipper>



- atur kembali tiap spasinya hingga kira2 seperti ini

Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.NotificationPanelView android:id="@id/notification_panel" android:background="#00000000" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
   <View android:id="@id/handle_background" android:background="@drawable/handle_bar_background_color" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" />
   <View android:id="@id/handle" android:background="@drawable/status_bar_close" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" />
   <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/close_handle_underlap" android:animateLayoutChanges="false">
       <include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/status_bar_expanded_header" />
       <FrameLayout android:id="@id/toolBarSwitchPanel" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="wrap_content">
           <include layout="@layout/toolbar_view" />
           <include layout="@layout/toolbar_indicator" />
           <include layout="@layout/toolbar_divider" />
       </FrameLayout>
       <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>
   </LinearLayout>
   <include android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height" layout="@layout/gemini_carrier_label" />
</com.android.systemui.statusbar.phone.NotificationPanelView>


- save


----------------------



- buka alwi_barbright.xml
- hapus seluruh isinya lalu ganti dengan ini

Code:
<?xml version="1.0" encoding="utf-8"?>
<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">
   <RelativeLayout android:gravity="center_vertical" android:orientation="vertical" android:id="@id/headerbau" android:background="#ff444444" android:layout_width="fill_parent" android:layout_height="wrap_content">
       <LinearLayout android:gravity="center_vertical" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
           <RelativeLayout android:layout_width="fill_parent" android:layout_height="200.0dip">
               <com.lenox.Lenox_Label.lenoxpicture android:id="@id/lenoxpic" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/ic_qs_default_user" android:scaleType="centerCrop" />
               <LinearLayout android:gravity="top" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="200.0dip" android:layout_marginTop="130.0dip">
                   <com.nemesis.ownerinfo.NamePlate android:textStyle="bold" android:textColor="#ffffffff" android:layout_gravity="center" android:id="@id/profile_name" android:layout_width="wrap_content" android:layout_height="25.0dip" />
                   <com.lenox.Lenox_Label.lenoxlabel android:layout_gravity="center" android:id="@id/lenoxlabel" android:layout_width="wrap_content" android:layout_height="wrap_content" />
               </LinearLayout>
           </RelativeLayout>
           <com.b16h22.statusbar.MultiPanelButtons android:layout_gravity="center" android:layout_width="fill_parent" android:layout_height="40.0dip" android:scaleType="center" android:weightSum="3.0" />
       </LinearLayout>
       <LinearLayout android:gravity="center_horizontal" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="200.0dip">
           <com.nemesis.ownerinfo.Carrier android:layout_gravity="top" android:id="@id/pp" android:layout_width="90.0dip" android:layout_height="90.0dip" android:layout_marginTop="40.0dip" android:scaleType="centerCrop" />
       </LinearLayout>
   </RelativeLayout>
   <com.b16h22.statusbar.MultiPanelFlipper android:id="@id/markmellarpes_multi" android:layout_width="fill_parent" android:layout_height="wrap_content">
       <ScrollView android:id="@id/scroll" android:padding="5.0dip" 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" />
       </ScrollView>
       <ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
           <include layout="@layout/alwi_tab1" />
       </ScrollView>
       <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>
   </com.b16h22.statusbar.MultiPanelFlipper>
</LinearLayout>


-----------------------


- save
- recompile
- sign
- push
- reboot



    *berhasil di
    JB 4.2.1 mt6589 by Yanu and Dudunk Vrisay
    JB 4.2.1 mt6582 by Antok kah
    JB 4.2.2 mt6572 by Khoi Rudhin , Dadi Rizaldi dan Kurt Schafer
    JB 4.2.2 mt6577 by Ghifari Coferone



    Link Asal




    Semoga artikel ini bermanfaat, jika ingin men-copas mohon cantumkan sumber. Jangan lupa share ke teman-temanmu juga. Terima kasih
    yanuabialwi  

    No comments:

    Post a Comment