Pages

Ads Top

Blogger news

Blogroll

Popular

GUIDE SWIPE EXPANDED - gb

OK gan kali ini ane mau ngasih guide swipe expanded, karena HH ane gk support view pager jadi ane pake yg ini aja, fiture sih hampir mirip view pager. bisa dibilang ini view pager KW.....hehehehe.




   ok langsung aja gan

Download Bahannya. dulu DISINI

Next

- Decompile SystemUI.apk



- Pindahin bahan sesuai habitatnya



- buka res/values/colors.xml tambahkan line berikut diatas </resources>

    <color name="indicator_text">#ffffffff</color>
</resources>


- Buka res/layout gemini_status_bar_expandad.xml atau status_bar_expanded.xml


lalu cari Line ini

            <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>


ganti dgn ini

(sebenarnya gk di ganti jg gpp sih tinggal,tp pindah aja layout notifikasinya ke salah satu expanded dari xml di bahan)

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


nanti akan jadi seperti ini kira2

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.NotificationPanelView android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg" 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" android:background="@drawable/status_bar_close" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" />
    <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" />
    <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="@dimen/notification_panel_header_height" 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="103.0dip">
            <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/agus_expanded_notification" />
            </ScrollView>
        </FrameLayout>
    </LinearLayout>
</com.android.systemui.statusbar.phone.NotificationPanelView>

SAVE



RECOMPILE



SIGN



PUSH MEONG MEONG



REBOOT



credit to all mastah M.A.A.A.D.r

2 komentar

 

Mengenai Saya

Foto Saya
Mengejar perubahan

Most Reading

AW. Diberdayakan oleh Blogger.