FORUMS

What Are the Best Looking Apps on Android?

As more developers are updating their apps with Material Design elements, we’re … more

Cyngn Explained: Who’s Cyanogen, What’s Cyanogen OS?

While Cyanogen, Inc has been the source of many headlines lately, there … more

Verizon Moto X 2014 Receives Root On Kitkat 4.4.4

The Verizon Moto X 2014 has finally received root, albeit only on Kitkat 4.4.4 … more

Android 5.1.1 Released, Google Cell Service – XDA TV

Android Lollipop 5.1.1 has been released. That and much more news is covered … more
Post Reply Subscribe to Thread Email Thread

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

9th April 2014, 04:59 AM |#1  
crazy_user's Avatar
OP Member
Flag Sragen, Jawa Tengah
Thanks Meter: 41
 
More
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: 247
 
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: 58
 
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: 30
 
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