Jump to content


Photo

Centered Lockscreen Clock and Text


  • Please log in to reply
No replies to this topic

#1 usmcamgrimm

usmcamgrimm

    Berserker

  • Developer
  • 958 posts
  • Twitter:@usmcamgrimm
  • LocationMassillon, OH
  • Current Device(s):VZW G3

Posted 17 February 2013 - 06:43 PM

Trying to center the clock, date, and status on the lockscreen. After some searching, I tried to adjust these margins:

framework-res/res/values/dimens.xml


<dimen name="keyguard_lockscreen_status_line_font_size">15.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_font_right_margin">42.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_clockfont_top_margin">22.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_clockfont_bottom_margin">12.0dip</dimen>

Changed the 42 to 25 but didn't see any noticeable change. Not sure if maybe I have to change keyguard_screen_tab_unlock or keyguard_screen_unlock_portrait as well.

As far as changing the date and status, those should be in framework-res/res/values/dimens, correct?

  Exodus-Sig%204.png





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users