Lock screen fonts - Defy General

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...
By the way the lock screen sliders are definitely less choppy in the new euro deblurred ROM.

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 styles are defined?
[Edit]
Looks like it might be in values/styles.xml in the decompiled framework-res.apk
Looking at android.policy.jar next
Also looked at the standard android opensource 2.1 policy code and I can't see any reference to the clock font.
Help!

I think this might be a topic for defy themes forums not general.
Sent using motorola defy

Jt612 said:
I think this might be a topic for defy themes forums not general.
Sent using motorola defy
Click to expand...
Click to collapse
I originally posted it there but it got moved by a mod (the_scotsman).

That's odd i would have thought it was a themeing thing especially because your discussing how.
Sent using motorola defy

Can any devs out there point me in the right direction?

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.
http://dl.dropbox.com/u/17360979/zz_moto_keyguard_screen_tab_unlock.zip
Still can't figure out how to change the clock font to clockopia though

How does one use this lock screen ? Extract the apk and replace three default and rezip ? Is it possible to use metamorph
Sent using motorola defy

You would need to extract and decompile the framework-res.apk copy in the new XML and then recompile & re zip.

Found it in the framework.jar

Done!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

good you managed to do it..
it would be nice if you shared how...

Related

Need Help with DIY-theme (Good in Red for CM6)

I have been working through the night and all weekend so far to learn how to make my own theme based off of CM6 Nightly builds, but I need some help. I made some changes but can't find where these might be found.
I somehow made a change so that now the time and all notifications that appear at the top are in black letters. This also goes the same for the notifications that appear in the pull down menu. Anyone know what icon would be causing this? See pics below.
Also when I turn on the GPS and wifi, the gps and wifi icons doesn't appear at the top. Anyone know what icons I should be looking for?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Forgot to add: I give full credit to all those who came up with the Red themes that I pulled bits and pieces from. I used many sources that I can't remember their names now, but if they want me to specifically name them, let me know and I will.
Dude if you are working in from CM6 (an AOSP build) then the taskbar is white with black letters. Thats how it is by default. You just made the statusbar black, so now it doesn't show up very well (correct me if I am wrong).
Anyway, I believe there is an option in CM6 settings to change the color of text on the statusbar. Or, you can go into framework-res.apk/res/layout/statusbar.xml and change the hex code for the <TextView> elements.
Also, all the statusbar icons are in framework-res.apk/res/drawable-hdmi.
phinnaeus said:
Dude if you are working in from CM6 (an AOSP build) then the taskbar is white with black letters. Thats how it is by default. You just made the statusbar black, so now it doesn't show up very well (correct me if I am wrong).
Anyway, I believe there is an option in CM6 settings to change the color of text on the statusbar. Or, you can go into framework-res.apk/res/layout/statusbar.xml and change the hex code for the <TextView> elements.
Also, all the statusbar icons are in framework-res.apk/res/drawable-hdmi.
Click to expand...
Click to collapse
this is what I needed to know. Thanks
unknown_owner said:
this is what I needed to know. Thanks
Click to expand...
Click to collapse
Any help with the two icons: Gps and wifi not appearing in status bar?

[Q] custom home screen

hey guys,
i am currently using stock 3.28.651.1 with few aosp changes and lock screen changes by me to better suit my needs. one thing i am not sure abt is how do i change the home screen layout ? as in the task bar at the bottom (menu, phone, widgets)
i have this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and what i want is this
how can i extract the framework from that rom (2nd pic) to the my rom (1st pic) or is there a flash-able update that i missed looking thru these forums ?
would love for someone to point me in the right direction or teach me or make a flash-able update file.
thanx guys
So looking at the pictures you want the different bottom bar and wallpaper. the wallpaper can just be set and the bottom bar is in com.htc.resources.apk\res\drawable-port-hdpi should be able to copy the pics here and paste them into your com.htc.resources.apk file.
i just want the bottom bar. do i need to sign it ? or is it just a simple adb pull then push ?
rujelus22 said:
So looking at the pictures you want the different bottom bar and wallpaper. the wallpaper can just be set and the bottom bar is in com.htc.resources.apk\res\drawable-port-hdpi should be able to copy the pics here and paste them into your com.htc.resources.apk file.
Click to expand...
Click to collapse
ok i did replace the pics like u suggested and it worked to a certain extent. it changed the bottom bar, but the outline from the original is still there. how do i remove that ?
teshxx said:
ok i did replace the pics like u suggested and it worked to a certain extent. it changed the bottom bar, but the outline from the original is still there. how do i remove that ?
Click to expand...
Click to collapse
Sorry forgot to mention that those are in Rosie.apk/drawable-hdpi/
common_mainnav_scroller1.png and
common_mainnav_scroller3.png
you can copy them to or just make them transparent.
rujelus22 said:
Sorry forgot to mention that those are in Rosie.apk/drawable-hdpi/
common_mainnav_scroller1.png and
common_mainnav_scroller3.png
you can copy them to or just make them transparent.
Click to expand...
Click to collapse
PERFECT!!!!!! thanx bud. i really appreciate it. its looks like its supposed to now lol. thank u

Stock 2.2 Theme

Can someone give me a link or a framework-res.apk to a 2.2 stock theme for HDPI devices?
Like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
+1
I've made it but didn't know how to have notification + clock black text.
+1 I like theme "stock" of android!
someone managed to modify sources.jar ? (black text)
Here's one for an X10 that you could pull apart
http://www.4shared.com/file/fKigopxT/framework-res.html
Vaiofr said:
+1 I like theme "stock" of android!
someone managed to modify sources.jar ? (black text)
Click to expand...
Click to collapse
I can modify sources.jar but don't know which string.
Several times i've tried to do it...my only result was a stock theme but without black text and clock (that remains white).
@HTCDevil
I have the same problem, I tried to change the color but no results
Developers can we help?
Would comparing the two files in this post help shed any light ?
http://forum.xda-developers.com/showpost.php?p=10538233&postcount=1
FlanFlinger said:
Would comparing the two files in this post help shed any light ?
http://forum.xda-developers.com/showpost.php?p=10538233&postcount=1
Click to expand...
Click to collapse
Thanks, but it's only for deleting clock, not for modifying its colours.
I have modified some xml but i think colours want to be changed using a hex editor.
Anyway it's difficult to find the right string with hex.
Many users have done that but didn't answer at this.
I contacted AOSPish's OP asking him about which xml we have to modify...but he did that project time ago...so he didn't remember.
I'm available for cooperation. See you guys
It is not in the xml file but sources.jar!
A change with smali and backsmali with SDK no ?
HTCDevil said:
Thanks, but it's only for deleting clock, not for modifying its colours.
I have modified some xml but i think colours want to be changed using a hex editor.
Anyway it's difficult to find the right string with hex.
Click to expand...
Click to collapse
I thought there might be a change in the xml lurking somewhere that wasn't so obvious.
In theory there should only be a change from the hex for white and black.
I'm sure somewhere in an older theme someone had changed the clock colour, I'll have a search about as it's probably buried in amongst a gazzillion posts somewhere

Location of the customize icon of HTC Sense

Hi,
i use the rom RCmix3d Runny v4.0.
It has a tweak that allows me to link an app to the personalize button that appears on the bottom bar of the home screen (next to the phone button).
So instead of displaying the personalize menu, it lauchnes an app.
My goal is now to replace the the icon to one that looks like this app.
I found the personalize icon in system/app/Rosie.apk/drawable-port-hdpi/personalize_on.png .
I replaced it and put the new Rosie.apk in the system/app directory using Android Commander.
After restarting Rosie, nothing looks different.
Did I do anything wrong?
Is there an other location that contains this image? I didnt find anything in SystemUI.apk, com.htc.resources.apk and framework-res.apk
Replaceing the png files worked for me when i changed the signal strength bar icon.
Have you tried looking in the launcher your using for the icon. I like the app drawer icon for ics so I got it from nova launcher then created my own icons with it.
Example
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Desire HD using xda premium
Reinaldo33897 said:
Have you tried looking in the launcher your using for the icon.
Click to expand...
Click to collapse
Thats what I did. I use a Sense rom with stock launcher and thats the Rosie launcher. But somehow the icons and images are spread in a lot of apk files, for example Burgundy.apk (for the pink theme, but i cant find the one for the standard theme). I also tried to unzip all apks and search for personalize, but i didnt find anything.
marian42 said:
Thats what I did. I use a Sense rom with stock launcher and thats the Rosie launcher. But somehow the icons and images are spread in a lot of apk files, for example Burgundy.apk (for the pink theme, but i cant find the one for the standard theme). I also tried to unzip all apks and search for personalize, but i didnt find anything.
Click to expand...
Click to collapse
Sorry could not help you there. That's how I was able to find mine unzipped niva and search the drawable folders. Found it in 48x48 and had to resize to 256x256 if I recall correctly.
Sent from my Desire HD using xda premium

[Q] Change navigation bar icons in the Theme app?

Hi guys, I've been trying to figure out how to change the icon of the navbar for a few days now, still have no clue. It would be nice to have the Stock Android look like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I see some theme on the market which have the navbar icons changed, so I assume that it is possible to some options (which I don't know about) in the Theme app to do that without rooting my M9, right?
Thanks in advance
Create a Theme here under Maker Pro
That allows you to change all icons and navbar stuff. I think it does anyway.
https://themes.htc.com
DjLukeW said:
Create a Theme here under Maker Pro
That allows you to change all icons and navbar stuff. I think it does anyway.
https://themes.htc.com
Click to expand...
Click to collapse
Yeah I tried it a few days ago, it does let you change icons of a lots of popular apps, but I don't see any option for the navbar whatsoever
mr1029x said:
Yeah I tried it a few days ago, it does let you change icons of a lots of popular apps, but I don't see any option for the navbar whatsoever
Click to expand...
Click to collapse
You have to use the pro -themer on the page.
Then nav icons and the clock widget have their own steps in the process.
Now... if someone can tell me how to hack the google icons inn instead of the choices htc give me... (they have one that is similar to stock but square is home and two circles indicate the task switcher. (and there is an ugly line on the back key))
i still can't find it
DipsoNOR said:
You have to use the pro -themer on the page.
Then nav icons and the clock widget have their own steps in the process.
Now... if someone can tell me how to hack the google icons inn instead of the choices htc give me... (they have one that is similar to stock but square is home and two circles indicate the task switcher. (and there is an ugly line on the back key))
Click to expand...
Click to collapse
http://gyazo.com/a415bd3709d45082c08d6594d5d1da06 << screenshot
i must be blind because i can't find any button for upload or anything else
http://forum.xda-developers.com/one-m9/themes-apps/rounded-aosp-style-statusbar-icons-t3086556

Categories

Resources