FORUMS

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more

LG G4 First Impressions and Unboxing – XDA TV

The latest in LG’s signature line of “G phones” has been released. … more

Galaxy S6 Weekly Shooting Challenge

Over in our forums this weekend, XDA Forum member DevonSloan has started a thread for talented … more
Post Reply Subscribe to Thread Email Thread

Angry [MOD][GUIDE]Merge Wi-Fi and Mobile data Icon with Signal Icon on Statusbar

11th March 2014, 03:15 PM |#1  
AmniX's Avatar
OP Senior Member
Flag India
Thanks Meter: 2,780
 
Donate to Me
More
Hello floks! Whats up?

You all Must be know about my Xperia-Z-ized ROM.

WHAT! You Don't Know? So Check it NOW

Well Here i am Gonna Share one of my work and a friendly guide for all the developers too.

But What is that work? The work is to merge WiFi Signal and Mobile DATA icon with Mobile Signal icon.

Didnt get it? See it yourself here!





GOT it Now?

Not yet? Dude, go 'N' Watch POGO! -_-


-:DOWNLOADS:-

1.Touch Wizard Theme
2.Xperia-Z-ized Theme
3.Elegant Theme

This Will Work on any ROM, Custom or Stock but only for TW, No for CM

If you like it, then Hit Thanks or Buy me a coffee.
Last edited by AmniX; 11th March 2014 at 03:21 PM.
The Following 12 Users Say Thank You to AmniX For This Useful Post: [ View ]
 
 
11th March 2014, 03:15 PM |#2  
AmniX's Avatar
OP Senior Member
Flag India
Thanks Meter: 2,780
 
Donate to Me
More
If You are a developer and want to port this mod with your Existing Moded systemUI resources then Follow this Guide.
Requirements-1. Apktool(official or custom- - Use Google)
2. Notepad++(Use Google Again)
3.A Active Mind

Steps to port!
1.First of all download my MOD from First post(for png resources)
2.Decompile your SystemUI.apk(I dont know how nor ask me -_- )
3.After Decompilation complete, Go to res/layouts/signal_cluster_view.xml. Here you will find these codes.
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <FrameLayout android:gravity="center" android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
        <ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
        <ImageView android:layout_gravity="center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
    </FrameLayout>
    <FrameLayout android:gravity="center" android:id="@id/ethernet_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
        <ImageView android:id="@id/ethernet_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
        <ImageView android:layout_gravity="center" android:id="@id/ethernet_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
    </FrameLayout>
    <View android:id="@id/spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
    <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/new_mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
        <FrameLayout android:id="@id/separate_mobile" android:layout_width="wrap_content" android:layout_height="wrap_content">
            <ImageView android:id="@id/separate_mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
            <ImageView android:id="@id/separate_mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
        </FrameLayout>
        <FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
            <FrameLayout android:gravity="center" android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
                <ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                <ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                <ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                <ImageView android:id="@id/mobile_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
            </FrameLayout>
        </FrameLayout>
    </LinearLayout>
    <ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
<--Let me explain About these codes-->
Blue text is for Wi-Fi Signal icons
Yellow text indicate ethernet icon which our device doesn't support.
Red text is for Mobile DATA icon
Green text is for Mobile Signal icons

5.Now let me tell you, Samsung use same inout indicators for Wifi And Mobile Data so we have to mod them both.

6.Here is my moded codes. You will understand them, Just look into text colour's

Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <FrameLayout android:gravity="center" android:id="@id/ethernet_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
        <ImageView android:id="@id/ethernet_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
        <ImageView android:layout_gravity="center" android:id="@id/ethernet_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
    </FrameLayout>
    <View android:id="@id/spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
    <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/new_mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
        <FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
            <FrameLayout android:gravity="center" android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
                <ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                <ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                <ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                <ImageView android:id="@id/mobile_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
            </FrameLayout>
        </FrameLayout>
        <FrameLayout android:id="@id/separate_mobile" android:layout_width="wrap_content" android:layout_height="wrap_content">
            <ImageView android:id="@id/separate_mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
            <ImageView android:id="@id/separate_mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
        </FrameLayout>
        <FrameLayout android:gravity="center" android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
            <ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
            <ImageView android:layout_gravity="center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
        </FrameLayout>
    </LinearLayout>
    <ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
You must be understand according to color that how i move these icons!
If need any help you can ask me here.
7.Now put res/drawable-xhdpi folder from my downloaded resources to your decompiled SystemUI.apk, And compile it back.
8.Now Its done, Enjoy.

If you use this in your theme or mod or ROm, Then don't forgot to giva a little credit to me to respect my work.

Thanks,
Regards
-AmniX
Last edited by AmniX; 12th March 2014 at 08:20 AM.
The Following 13 Users Say Thank You to AmniX For This Useful Post: [ View ]
12th March 2014, 08:26 AM |#3  
AmniX's Avatar
OP Senior Member
Flag India
Thanks Meter: 2,780
 
Donate to Me
More
Guide added to POST #3, Seems People were not intrested about this mod
12th March 2014, 12:58 PM |#4  
hotdroid's Avatar
Senior Member
Thanks Meter: 398
 
More
Quote:
Originally Posted by AmniX

Guide added to POST #3, Seems People were not intrested about this mod

somehow i got that feeling too.. hahaha

its interesting mate, specially for learning-noob like me.. thanks for your sharing..

Regards..
12th March 2014, 02:17 PM |#5  
mataflakitas's Avatar
Senior Member
Flag nuevo leon
Thanks Meter: 685
 
More
Thanks AmniX...

Enviado desde mi GT-N7105 mediante Tapatalk
12th March 2014, 04:11 PM |#6  
Vuska's Avatar
Senior Member
Thanks Meter: 62
 
More
Will try this on Hurricane v11

Sent from my GT-N7100 using Tapatalk
12th March 2014, 05:29 PM |#7  
Junior Member
Thanks Meter: 0
 
More
nice bro
12th March 2014, 08:17 PM |#8  
Cocolopes's Avatar
Senior Member
Flag Rosario
Thanks Meter: 1,234
 
Donate to Me
More
Nice!...can you make it for the new 4.4.2 leak based roms? Or maybe make a xposed module .

And I there any way to make stock tw notification bar like aosp? I mean, I just want the toggle drawer and in the notification side just nothing...only clock and no toggles...

Edit...I made it myself....thanks for the info.....
Last edited by Cocolopes; 13th March 2014 at 05:55 AM.
13th March 2014, 12:23 PM |#9  
Junior Member
Flag HCM
Thanks Meter: 26
 
More
Nice!!.... but you can make "H" letter?

Gửi từ GT-N7100 của tôi bằng cách sử dụng Tapatalk
15th March 2014, 07:29 PM |#10  
hoaxdream's Avatar
Senior Member
Flag San Pedro
Thanks Meter: 59
 
More
thanks for this maybe add a guide on how to move gsm signal and wifi signal to the left? it will be great tia
Post Reply Subscribe to Thread

Tags
amnix, elegant, n7100, wifi, xperia
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes