[Q] Jelly Bean 260dpi Lock Screen Center Mod?

prodigyX

Senior Member
Jul 19, 2011
283
89
0
Durban
Hey guys,

Anyone running a Jelly Bean ROM with a lower than 320 dpi will understand how annoying it is for the items on the lockscreen (time, date, lock-ring, provider) to be off-centre, justified to the right.

As far as I can see, there are no mods / patches for this problem at the moment. I'm not a developer, but it appears that it is possible to fix this:

http://localhostr.com/files/IOkAg3b/06-07-2012_114518.jpg

http://h10.abload.de/img/basiansmod_jellybelly4yrr6.png

If this IS possible, it would be great if one of you fantastic devs could put together a little mod for us to flash in recovery ;)

Is this theoretically possible?
 

coloxim

Senior Member
Feb 17, 2011
1,545
52
0
Pavia
Hey guys,

Anyone running a Jelly Bean ROM with a lower than 320 dpi will understand how annoying it is for the items on the lockscreen (time, date, lock-ring, provider) to be off-centre, justified to the right.

As far as I can see, there are no mods / patches for this problem at the moment. I'm not a developer, but it appears that it is possible to fix this:

http://localhostr.com/files/IOkAg3b/06-07-2012_114518.jpg

http://h10.abload.de/img/basiansmod_jellybelly4yrr6.png

If this IS possible, it would be great if one of you fantastic devs could put together a little mod for us to flash in recovery ;)

Is this theoretically possible?

same for me..
;(
 

prodigyX

Senior Member
Jul 19, 2011
283
89
0
Durban
If I may ask, which file is this/where is it located?
Have you tried messing around with it?
Unfortunately, I don't know. I stumbled across this screenshot on one of the ROM forums (can't remember which one :eek:) and somebody was claiming to be able to fix the problem, but he was pretty much ignored..

I was hoping a dev might recognize some of the code and be able to identify where it came from
 

Moose0704

Senior Member
May 6, 2012
2,310
4,490
0
If someone will get me that file name I will make the changes now and test, this is also driving me crazy, I am looking into it as I type lol
 

Moose0704

Senior Member
May 6, 2012
2,310
4,490
0
ok, i found the .xml file to change with the code I need to change, however changing it does nothing.

the file name is "keyguard_screen_unlock_portrait", found here "framework-res.apk\res\layout"

again the changes do nothing, even after clearing cache nothing happens. They only thing I was able to get to change was moving the "charging text" to the left of the screen. I am not a dev so I have no idea why this is not working.
 

Moose0704

Senior Member
May 6, 2012
2,310
4,490
0
WOO HOO!! I've done it!!!

I finally got the lockscreen circle centered!!! now I can stop going crazy and really enjoy this ROM!!!!

Before:


After: