[FIX][5.1.1][any Xperia device] Status bar icons gap fixed

istux

Senior Member
Jun 26, 2012
1,448
1,473
0
Milano
As we all know, in android 5.1.1 there's a gap between the battery icon and the signal bar.
I managed to fix this little issue :good:

What you get:
  • The gap between the battery icon and the signal bar will be resized
  • Your current LTE/4G icon will be preserved :)
How to install:

I asked serajr to include this feature in his Xperia Xposed module, in order to let this fix work on any Xperia with any firmware :good:
From ver 2.2.2 onwards this feature is supported:
http://forum.xda-developers.com/showpost.php?p=63152553&postcount=1365
So just download and install the last Serajr Xperia Xposed (LP) from Xposed Installer and you'll get the fix ;)


What part of the code has been changed?

If you like to modify the code manually or you need to add this feature to your rom without Xposed framework, here's the trick (very simple):
  • Decompile SystemUI
  • Enter this folder: res/layout
  • Open up signal_cluster_view.xml
  • Change this:
    Code:
    <com.android.systemui.statusbar.SignalClusterView android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingEnd="@dimen/signal_cluster_battery_padding"
    with this
    Code:
    <com.android.systemui.statusbar.SignalClusterView android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingEnd="0.0dip"
  • Recompile

Many thanks to @serajr and @moly82

Screenshots:


 
Last edited:

iKlutz

Senior Member
Feb 9, 2013
706
196
0
London
I simply cannot download it. The dev host only displays 2 download buttons, one of which downloads a HTML file with no extension, the other puts up random ad pages that want me to install bull**** apps from playstore or elsewhere. Somebody please upload it somewhere more responsible and sensible please, this is frustrating and fruitless.
 

jemfalor

Senior Member
Jul 25, 2015
296
64
0
doesn't work perfectly on d6653 5.1.1 stock firmware.. connectivity with sony smartwatch 3 intermittent.

˜xperia z3,d6653,5.1.1,v68,tapatalk
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone