Change lock screen font?
  • breezabreeza December 2010

    Managed to change the lock screen sliders to froyo stock ones but I am now wanting to change the font of the clock / date / service provider.

    Normally it looks like you would just change the clockopia font for the clock but moto is not using this. The current font being used is DroidSans but if I change this it is pretty much used everywhere!

    Is there an XML somewhere I can change?
    Maybe keyguard_screen_lock.xml in the framework-res.apk? But I can't see any reference to a font or typeface in there and I just read that you can only use the android default fonts in the layout XMLs so would have to set it in a jar somewhere... Can anyone help?

    By the way the lock screen sliders are definitely less choppy in the new euro deblurred ROM.


    [Edit]
    OK so after a bit more digging I can say that the lock screen layout is defined in zz_moto_keyguard_screen_tab_unlock.xml and it uses a bunch of blur styles like: style="\@style/Blur.BigTimeTxt"

    Anyone know where these are defined?

    [Edit 2]
    Looks like it might be in values/styles.xml in the decompiled framework-res.apk

    [Edit 3]
    Looked at the android.policy.jar and I still can't see where I would change the font. Looked at the base 2.1 opensource code as well and couldn't see a reference to the clockopia font. Help!

  • OhhCoreeyOhhCoreey December 2010

    Clockopia is just the clock font on Moto as well.

  • breezabreeza December 2010

    The clockopia font is there but it is not used on the defy lock screen.

  • DJGHOSTS3V3NDJGHOSTS3V3N December 2010

    can u tell me how you changed the sliders? omg.

  • breezabreeza December 2010

    Grabbed the png files from here:


    And then copied them to the defy framework-res.apk

  • DJGHOSTS3V3NDJGHOSTS3V3N December 2010

    Im pretty lost. Did you used metamorph or just adb pushed?

  • breezabreeza December 2010

    adb to pull the /system/framework/framework-res.apk


    Extracted the apk and copied in the new .png files

    Re zipped the apk and pushed it back

    If you are using the new euro deblurred ROM you can use my amended apk:

  • DJGHOSTS3V3NDJGHOSTS3V3N December 2010

    so
    cd/
    cd androidsdk/tools
    adb pull system/framework/framework-res.apk

    where is the framework-res.apk?
    Once i found it i rename to framework-res.apk.zip
    Extract
    Look for which png? (name please)
    Delete
    Take ur .png copy and paste
    change framework-res.apk.zip to .apk only
    open cmd
    cd/
    cd androidsdk/tools
    adb push framework-res.apk /system/framework/framework-res.apk
    Then what i do in my phone?
    Reboot?
    Need help. Lol

  • breezabreeza December 2010

    The png files are in the original link I posted.


    I used apk manager to help me with extracting and then building the new apk:

  • SaceedSaceed December 2010

    Or download an ap called Lockbot works a lot better.

  • SaceedSaceed December 2010

    I ment app

  • DJGHOSTS3V3NDJGHOSTS3V3N December 2010

    Saceed thank you but atleast I want to mod my rom. No apps.

  • breezabreeza December 2010

    Yeah lock screen apps never quite do it as far as I am concerned.

  • DJGHOSTS3V3NDJGHOSTS3V3N December 2010

    @breeza can i do it my way? i dont like using apps. :S??

  • breezabreeza December 2010

    Sure, you can do it manually if you want.



  • DJGHOSTS3V3NDJGHOSTS3V3N December 2010

    Well I will try on my cliqxt if it works ill tell ya ill see if i can put this in FakeFroYo
    if it works u get credit. :D

  • breezabreeza December 2010

    Loving the new ROM so far. 
    I know I am persistent but I have copied the standard android lock screen layout and created a new zz_moto_keyguard_screen_tab_unlock.xml which in my opinion looks much cooler than the default defy one.
    Give it a try:http://dl.dropbox.com/u/17360979/zz_moto_keyguard_screen_tab_unlock.zip

  • breezabreeza December 2010

    You can get the stock android answer / ignore sliders here:http://androidforums.com/droid-x-all-things-root/198067-morph-android-2-2-stock-lockscreen-dialer-sliders-mods.html
    They need to go into the Phone.apk. Here they are with the correct file names and path to go straight in:http://dl.dropbox.com/u/17360979/Phone_apk_sliders.zip

  • breezabreeza December 2010

    Come on guys someone clever must be able to figure out how to change the clock font to clockopia :)

  • DJGHOSTS3V3NDJGHOSTS3V3N December 2010

    Lol i will replace these .apk
    Once I finish ill help you out. Remember that Clockopia not only applies to the lock screen but to other text on your phone. So if you remove Clockopia other text in the phone will be affected.
    :D

  • breezabreeza January 2011

    Found it in the framework.jar :)

  • breezabreeza January 2011

    Done!

    image

Hey are you new here?!

Welcome to the best Ad-Free Android Community around! Create your profile, and start posting now! New features are being added all the time!

Login with Facebook Sign In with OpenID Sign In with Google Sign In with Twitter

Sign In! Sign Up!

Categories

In this Discussion

Tagged