Breaking News
Loading...
Sunday, 2 November 2014

[TUTORIAL / GUIDE] Menambahkan Layout Swipe View

22:55
ScreenShoot :

Alat Tempur :
  1. Apktool for PC/HH
  2. Text Editor

Bahan - Bahan :
  1. Smali Swipe View ( Download )
  2. SystemUI.apk / apk yang mau ditambahkan Swipe View
Tutorial :
  1. Decompile File SystemUI.apk
  2. Letakan Bahan" yang didownload ketempatnya
  3. Buka res/layout/gemini/msim_status_bar_expanded.xml
  4. Copy kode dibawah, ke line android:id="@id/originLayout" (sesuaikan dengan SystemUI.apk yang digunakan)
  5. <com.spacecaker.swipelock.ui.SwipeView android:id="@id/expanded_switch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
  6. Tambahkan line berikut dibawahnya
  7.              <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">                 <include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/uswipe_1" />             </FrameLayout>             <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">                 <include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/uswipe_2" />             </FrameLayout>             <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">                 <include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/uswipe_3" />             </FrameLayout>             <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">                 <include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/uswipe_4" />             </FrameLayout>         </com.spacecaker.swipelock.ui.SwipeView>
  8. Dibawah line ini (sesuai keingginan)
  9. <ScrollView android:id="@id/scroll" android:background="@*android:color/transparent" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">             <com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:background="@*android:color/transparent" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_row_min_height" />         </ScrollView>     </LinearLayout>
  10. Save
  11. Recompile
  12. Push ke System/ Ketempatnya
*Note : Kalau mau menambahkan layout lagi, dengan membuat layout baru sesuai keingginan dan ditambahkan ke gemini/msim_status_bar_expanded.xml

Credit:
- Spacecaker
- MAAaD
- um Ubed

0 comments:

Post a Comment

 
Toggle Footer
Back to top