FORUMS

Google No Longer Sending Calendar SMS Notifications

In a not entirely surprising move, Google announced that it’s putting an … more

Enable Multi-Window Mode on M Developer Preview

What was not mentioned in yeterday’s keynote was Android M’s multi-window … more

I/O Summary: Google Cardboard Virtual Reality

One year ago, Google introduced cardboard. Amazingly enough, that was all it took to fire … more

Android M Preview Images – XDA TV

Android M preview images are available. That and much more news is covered by Jordan when he … more

[GUIDE] [4.1.2] [SystemUI] How to make New Layout With Flip Anim

Thanks Meter: 41
 
By crazy_user, Member on 9th April 2014, 04:59 AM
Post Reply Subscribe to Thread Email Thread
Hello guyss... I will give you a simple guide..
Tested on my device " GT-B5330 " in TW rom
For other device, you must adapt with this guide

How To :
1. Decompile your SystemUI.apk
2. Go to ids.xml in SystemUI/res/values/ids.xml
3. Add this code
Code:
    <item type="id" name="panel_flip">false</item>
    <item type="id" name="button_flip">false</item>
4. Go to tw_statusbar_expanded_header in SystemUI/res/layout-sw320dp-mdpi/here
5. Find this code
Code:
</LinearLayout>
Above this code, add this
Code:
<com.kangkung.ButtonKangkung android:id="@id/button_flip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
6. Go to tw_statusbar_expanded.xml in SystemUI/res/layout/here
7. Find this code
Code:
<View android:background="#091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />
Below this code, add this
Code:
    <com.kangkung.KangkungViewFlipper android:id="@id/panel_flip" android:layout_width="fill_parent" android:layout_height="wrap_content">
        <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
Now, find this code
Code:
</ScrollView>
Below this code add this
Code:
    </LinearLayout>
        <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
            <include layout="@layout/crazy_layout" />
        </LinearLayout>
    </com.kangkung.KangkungViewFlipper>
8. Add resources file to your decompiled SystemUI

NOW, COMPILE YOUR SystemUI.apk and decompile again your compiled SystemUI.apk
You need do this for get the new id from public.xml

Okey, now open public.xml in SystemUI/res/values/public.xml
You must match this id
Code:
Open "SystemUI.apk\smali\com\kangkung\ButtonKangkung.smali'
	Find this code

	line #23     const v0, 0x7f0d0132					#type="id" name="button_flip"
	line #36     const v1, 0x7f0202a1					#type="drawable" name="button_flip"

Open "SystemUI.apk\smali\com\kangkung\KangkungViewFlipper.smali'
	Find this code

	Line #21     const v2, 0x7f0d0131			    	        #type="id" name="panel_flip"
	Line #87     const v2, 0x7f040016					#type="anim" name="crazy_flip_3d_quicker_anim"
	Line #107    const v2, 0x7f040016			                #type="anim" name="crazy_flip_3d_quicker_anim"
	Line #127    const v2, 0x7f040016			    	        #type="anim" name="crazy_flip_3d_quicker_anim"
Recompile, sign , and push to your phone

NB :
- Still do with your own risk
- Backup your original SystemUI.apk
- If you get error please give me a log

CREDIT
-dugeriss
-SpaceCaker
-KuliDiniHari

Download File :
http://d-h.st/ToY

Quote:

SORRY FOR MY BAD ENGLISH

Last edited by crazy_user; 12th April 2014 at 06:32 AM.
The Following 6 Users Say Thank You to crazy_user For This Useful Post: [ View ]
 
 
9th April 2014, 05:33 AM |#2  
crazy_user's Avatar
OP Member
Flag Sragen, Jawa Tengah
Thanks Meter: 41
 
More
SCREENSHOT
coming soon
The Following User Says Thank You to crazy_user For This Useful Post: [ View ]
10th April 2014, 01:22 PM |#3  
dugeriss's Avatar
Senior Member
Flag Aku neng mburimu yo!
Thanks Meter: 275
 
More
nce guide om
The Following User Says Thank You to dugeriss For This Useful Post: [ View ]
12th April 2014, 06:16 AM |#4  
crazy_user's Avatar
OP Member
Flag Sragen, Jawa Tengah
Thanks Meter: 41
 
More
Quote:
Originally Posted by dugeriss

nce guide om

thanks udah mampir om
The Following User Says Thank You to crazy_user For This Useful Post: [ View ]
12th May 2014, 08:20 PM |#5  
shevchovski's Avatar
Member
Flag Toyamas - Banyuwangi
Thanks Meter: 59
 
More
great guide om
19th June 2014, 06:19 AM |#6  
crazy_user's Avatar
OP Member
Flag Sragen, Jawa Tengah
Thanks Meter: 41
 
More
Quote:
Originally Posted by shevchovski

great guide om

Thanks bro
19th September 2014, 03:07 PM |#7  
Senior Member
Flag Kiev
Thanks Meter: 31
 
More
Pls re-upload the files
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes