Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,368 Members 51,621 Now Online
XDA Developers Android and Mobile Development Forum

[Q] How to move signal to left?

Tip us?
 
mohawk97
Old
#1  
Member - OP
Thanks Meter 48
Posts: 60
Join Date: Mar 2014
Location: Perak
Question [Q] How to move signal to left?

how to move signal to left any suggestion?
The Following User Says Thank You to mohawk97 For This Useful Post: [ Click to Expand ]
 
marcussmith2626
Old
#2  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2341
Posts: 4,374
Join Date: Jul 2012
Location: London
change the linearlayout to left in status_bar.xml after you have decompiled SystemUI.apk with apktool

for example change the bit in red to the following in stock based roms

Code:
Select Code
<LinearLayout android:gravity="left" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
        <com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
        <com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
        <com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="25.0dip" android:gravity="center_vertical" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
    </LinearLayout>

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
The Following User Says Thank You to marcussmith2626 For This Useful Post: [ Click to Expand ]
 
mohawk97
Old
#3  
Member - OP
Thanks Meter 48
Posts: 60
Join Date: Mar 2014
Location: Perak
Quote:
Originally Posted by marcussmith2626 View Post
change the linearlayout to left in status_bar.xml after you have decompiled SystemUI.apk with apktool

for example change the bit in red to the following in stock based roms

Code:
Select Code
<LinearLayout android:gravity="left" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
        <com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
        <com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
        <com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="25.0dip" android:gravity="center_vertical" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
    </LinearLayout>

thaxs sir but how to move wifi icon next signal icon

please look picture in attachment sir

im just newbies.
Attached Thumbnails
Click image for larger version

Name:	SC20140502-133325.png
Views:	163
Size:	146.7 KB
ID:	2721005  
 
marcussmith2626
Old
#4  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2341
Posts: 4,374
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by mohawk97 View Post
thaxs sir but how to move wifi icon next signal icon

please look picture in attachment sir

im just newbies.
change other layouts to left - play around with it - you may get some overlap so just change the gravity of the layout till you find what works best

im sure there are guides around somewhere if you search in google

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
 
mohawk97
Old
#5  
Member - OP
Thanks Meter 48
Posts: 60
Join Date: Mar 2014
Location: Perak
Quote:
Originally Posted by marcussmith2626 View Post
change other layouts to left - play around with it - you may get some overlap so just change the gravity of the layout till you find what works best

im sure there are guides around somewhere if you search in google

im search the guide about a month but not found only found mariozawa

thaxs for answering
 
marcussmith2626
Old
(Last edited by marcussmith2626; 2nd May 2014 at 09:46 AM.)
#6  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2341
Posts: 4,374
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by mohawk97 View Post
im search the guide about a month but not found only found mariozawa

thaxs for answering
also change this to one in red

Code:
Select Code
<com.android.systemui.statusbar.IconMerger android:gravity="left" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
also the linearlayout above it you might have to remove the gravity shown in red
Code:
Select Code
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">

so after changes it should end up like something like this

Code:
Select Code
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
	<LinearLayout android:gravity="left" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
	<com.android.systemui.statusbar.IconMerger android:gravity="left" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
        <com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="right" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>

play around with things - its the best way to learn

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Organize Your Cloud Storage Files with Unclouded

Cloud storage services like Dropbox or Google Drive have grown in popularity dramatically … more

XDA Xposed Tuesday: Blur Your System Notification Panel – XDA Developer TV

Listen, we love innovative applications and modules that … more

Android 4.4.3 Begins Rolling Out to European HTC One M8

Shortly after the USA Unlocked and Developer Editions of the HTC One M8 received the … more

Modernize Your Emails with Email Popup

SMS andHangouts messages likely won’t ever replace traditional Emails for more formal … more