Long text strings get truncated with a bunch of unknown character squares - G2 and Desire Z Q&A, Help & Troubleshooting

Posted this on the CM forum but after 25 views nobody's bitten.
I'm running CM6 RC2 with the Inspira 0.2 M< theme posted on the G2 Themes forum.
I noticed a problem that for any long text string, be it in an app or in the general Android system, I get a couple periods then a bunch of the squares you get for an undefined character rather than the whole string being spelled out or at least running on for a bit longer before it gets truncated by the usual ellipsis (...).
Happens in my app drawer as well as within apps (i.e. "The Weather ... squaresquaresquaresquare")
I just had a thought that this might be a problem with the font in the Inspira 0.2 theme (it doesn't have a character for an ellipsis maybe?) but I don't recall seeing this on my stock rooted ROM, which I also ran the same theme on. Does anybody else have this problem or know what a remedy might be?
see attached image

Try installing the original font in this post: http://forum.xda-developers.com/showpost.php?p=9218524&postcount=3
I dont think you will have the same issue.
Costum fonts dont recognize every character so it replaces them with lines and squares.

That did the trick, thanks

Related

MyFaves icon went red-X

I'm sorry to do this. I'm just burnt out on searching today. The icon on my MyFaves panel (the five circles icon) decided to go AWOL today. All the icons appear to be intact in the Windows directory. What do I have to edit to get rid of the damned red "X"?
Only thing I've done differently was update CHome Configurator and CHome Weather. I'm not blaming them since they really don't deal with the icon. I just can't think of anything else I've done.
Go to HKLM\Software\Microsoft\CHome\MyFaves and edit the iconpaths location to where your pic is. The first pic in iconpaths is when your window is active and the second pic location is when your window is inactive. Your pic is probably in your \Windows directory. Hope this helps
(just in case I wasn't clear, here's a capture)
I gotta get off this thing for the night.
the iconpaths key has the value "4605;4604".
What does that translate to?
beartard said:
the iconpaths key has the value "4605;4604".
What does that translate to?
Click to expand...
Click to collapse
Do you have the My Fav icons in your windows folder?
if yes, then change the link in the iconpaths to the MAIN "my fav" icon in both reg address'
In the brozeres.dll, the picture files for iconpaths are predefined (meaning they are preloaded, so you don't have to do jack to have your screen be complete).
You can change their paths to whatever you want and that image will replace what the bronzeres.dll days that iconpath should be.
So if you want your active icon to be a color image of My faves icon , and your inactive to be a black and white image of the same, then it would look something like this:
iconpaths:
\Windows\youractiveimagename.png;\Windows\yourinactiveimagename.png
Just make sure whatever image you replace IS located in the place you entered in your registry. It's that easy. Takes like 5 minutes, just type in location drop pics in location (if not already there) and reboot or run your weather update and reload homescreen (might have to change layout, not sure about that). That's it.
I owe you a beer.
One day, my friend.
Oh sure he gets the beer but i dont?
Fine next time ill write a page long way of fixing your issue. lol
Hell, get us all together and the first round's on me.
A clue, perhaps?
beartard said:
I'm sorry to do this. I'm just burnt out on searching today. The icon on my MyFaves panel (the five circles icon) decided to go AWOL today. All the icons appear to be intact in the Windows directory. What do I have to edit to get rid of the damned red "X"?
Only thing I've done differently was update CHome Configurator and CHome Weather. I'm not blaming them since they really don't deal with the icon. I just can't think of anything else I've done.
Click to expand...
Click to collapse
Okay, the MyFaves pics on the collapsed panel are now X's on my phone.
The pics/icons in the expanded panel are fine.
I believe I have found a clue:
Thinking it might reset the collapsed MyFaves pics/icons panel, I
thought I would change the home screen to something else, reboot, then
change it back and reboot again.
But the home screen layout wouldn't change! So I scrolled through the
home screen settings and discovered duplicate fields on the settings
page for "Home screen layout" and a couple of other fields.
If I changed the layout in the second occurrence (or both occurrences) of
the "Home screen layout" field then the change would occur, but not if
I changed it only in the first occurrence of the field.
Oddly enough, sometime over the weekend the duplicate fields
disappeared but collapsed My Faves panel still displays the X's
rather than miniature pics/icons MOST of the time. Occasionally a
single mini-pic will appear, not always the same one.
Obviously something about the Home Screen settings has become
corrupted.
Here's where maybe XDA developers can help. I'm thinking that the various
home screen layouts must be templates into which a user's unique
settings are imported.
For example, you and I (and everyone else) have identical templates
for, say, the "T-Mobile default" layout. Our unique settings (My
Faves people and icons/pics, Weather app city, etc) are properties imported into the template before (or as) it is displayed in the panel. If someone could find out what file(s) comprise the "T-Mobile default" template, someone
might be able to either tell us how to fix the corruption or post the uncorrupted template file(s) copied from another Dash phone.
Now, while online with my Dash to Tmo this past weekend through Web2Go
I came across a support screen that listed support for "missing
MyFaves app". Unfortunately that link led nowhere (dead). Now I can't even find the page, but obviously T-mo does recognize a missing MyFaves app as an issue, so it may be possible to restore our missing icons/pics to the collapsed MyFaves panel by reinstalling the MyFaves app.
I'm not sure this is relevant, but this occurred after a couple of aborted attempts to install Opera, then Mini Opera. Eventually I got Mini Opera installed.
Distinguished XDA developers, I know many of you think the MyFaves app is useless but some people like having it, so any help that you can provide is greatly appreciated!
-GoJ

Froyo contacts

Hi,
Was wondering is the standard froyo contacts doesn't list all the alphabetical letters on the right hand side? From all the froyo release so far I see the right side list missing letters : B, E,H, K, N, Q,T,W
Can we someone enable these characters again? I can live without these characters but it's just annoying...
Having the same issue here too...
And pressing the back softkey after playing a song in Music Player also causes some letters to disappear.
same issue in my sgs...strange
Yes, mine too (JPO).
The letters missing: G, H, O P
Wow, I got JPO as well..... hmmm seems the letters appears based on something. I did remember awhile ago, some letters start appearing.
It can't be by contacts, cos I got google contacts that have "b" in it but it still doesn't show the letter.
i flashed from jm1 to jpa. maybe this is the problem?
lost: GHOPX
for me it seems that if a letter has little contacts it doesnt show, and the next letter after it also dissapears..
any1 can confirm?
It's a feature. It's meant to enable users to quickly browse through their contacts. Yes, it sounds rather strange but what they intended was that you don't waste your time trying to get the the correct letter (particularly those with larger fingers) but rather in an approximate area in which you can therefore thumb up or down to the right contact.
In some ways it works, in other ways it can be annoying.
It's because of size of the fonts and the size of the top search box. There is no space for all the letters to be shown. Set lcd density to 200 and you'll see the magic.
For set lcd density to 200 have you used http://forum.xda-developers.com/showthread.php?t=762070
mobilx said:
It's because of size of the fonts and the size of the top search box. There is no space for all the letters to be shown. Set lcd density to 200 and you'll see the magic.
Click to expand...
Click to collapse
where i can change this value?
You can use that app or you can change it manually by changing build.prop ro.sf.lcd_density setting to 200. Be careful with this because TW doesn't work with setting below 200. Make backup first an enable debugging so you can revert through the adb. Read all about it first in the forums!!!
yikes lcd density at 200 makes everything looks aweful......is there any other way to get it to show all the alphabet just like in eclair?
thats really strange, didnt notice though.
although it can be shown by changing the lcd density to 200, but all other application becomes not full screen, it is not the perfect solution, someone please kindly make a study on this issue, it seems caused by the inproper layout parameter of contacts resource.
I guess eclair didnt have the edit box for "search" taking up space....now in froyo with the new search box, theres lesser room!
very annoying really though Don't want to change the LCD density as it screws up other apps.
haoning said:
although it can be shown by changing the lcd density to 200, but all other application becomes not full screen, it is not the perfect solution, someone please kindly make a study on this issue, it seems caused by the inproper layout parameter of contacts resource.
Click to expand...
Click to collapse
You can fix the other apps with spareparts app from the market. Compatibility mode option should be unchecked.
Tw can be replaced with the adw or launcher pro. The dialer and calculator are not in full screen view only.
Like I said , read all about it in the forums.
I personaly like the lcd tweak very much because of a larger resolution effect. You get more space on the display for icons and widgets and you can see more stuff in apps without scrolling.
Sent from my GT-I9000 using Tapatalk

[Q] Possible to change app icon text?

Can't seem to find any info on this that is relevant, just some stuff for much older versions and for WP.
I switched out my stock email app with the XFinity app, as it seems to be more reliable on retrieving email. The only problem I have with it is the icon is too big (touches the top and bottom of the launch bar) and the text is too long/doesn't wrap.
I was able to change the icon to a more standard icon via winrar etc, however I can't find a successful way to fix the text issue. Is this even possible?
Attached a pic, app is in lower right:
Well since you have it in the launcher I think the only way to do this would be to edit an .xml file (no idea which one) inside the .apk. You could always put it on the home screen using Launcher Pro, LP lets you customize the name. Probably not what you want to do, but just throwing it out there
Yeah I'm addicted to GTG though
I found several references to changes to strings.xml to allow wrapping etc and possibly change it entirely (not a lot of info there), but it appears to maybe be for an older version or something as the file isn't located in the apk where everyone says it should be.
Thanks though

[Q] Swype white text on white background

After some reading, I've managed to install Swype and it works great on some applications. However like others I'm having the white text on white background issue. I'd read that it's possible that a themed Swype or A100 theme (are there any?) install might fix the issue. Can anyone recommend a theme that fixes this or any other fix? Thanks.
hi! i'm new here in XDA, i just want to ask: how have you installed Swype on the A100? I've tried it but i can't! I always get a message saying that the screen resolution isn't supported! (or something like that). Thanks in advance!
If memory serves me correctly, I googled for user-posted versions of swype.apk instead of swype-installer.apk (I think the installer does the resolution check). Unfortunately I started on this several weeks ago with a gap of plenty of time to forget. I think this will get you headed in the right direction though.
I don't know how, but the version I had installed (a version that didn't fit to the screen) suddenly is correct.. But I have now the same problem that you have (white text).
Another thing, can I change the size of the keyboard? I thought with this version (tablet optimized) I could. Or what is the version for this? Thanks!!

[REQUEST] How to edit app-drawer background

I really love the new graphic style in Android ICS, especially for the blue fades that replaced those horrible plain black backgrounds in almost every list/app/screen. However, the app drawer background is still completely dark, and I was wondering...is there a .png or a file in the android framework, that lets us customizing the app drawer background opacity or better, the entire drawer background image?
The settings blue fade background would be a lot better of plain black, for example. Can you at least point me to the right direction? Thanks in advance!
The app drawer is part of the launcher, I believe, so poking around inside the launcher's .apk file would probably be a good place to start. That said, I probably know less about modding Android than you do, so I could be dead wrong...
Actually, I think this too - despite I talked about the 'framework'. The problem is, that a common android application is made up by a res folder, full of .pngs and pictures, and a lot of other folders that contain all the .xmls for the app itself, that I never achieved to edit in any way. And because I'm sure the drawer background is part of a style .xml, probably being defined by a string such as "background_color=0,0,0/transparency=0" (example taken by some .xmls edited on PC, I actually have no idea of how these things are written in android), it could be useful to know where to find something like that or how to edit this kind of values ;P
C'mon, I can't believe everyone actually never tought of changing the drawer background! I mean...this is one of the first feature that you -devs of several alt. launchers- will have to add, and so far (think to ADW) it has not been so difficoult! So...please, if you know something on that, point me to the right file or config!
I downloaded Launcher2.apk, extracted it, and gone through each single file inside. And "Drawer Layout" or "Drawer Background" aren't there. What could I do next?
Looking at the Launcher2 source, it is a xml file in the drawables folder named wallpaper_gallery_background.xml.
Sent from my Galaxy Nexus using xda premium
wallpaper_gallery_background.xml - it was one of my search result for "backgound" keyword. But I went over it, since I think is related to the wallpaper picker (the little gallery of wallpapers at the bottom of the wallpaper selection screen...). Any other ideas?
p.s.: Happy that finally someone is paying attention to this topic... xda doesn't help people with a few posts or subscribed only some months ago (and that doesn't implies that they're newbie or dumb è_é) in ANY WAY... ;D I think this would be a very appreciated feature, this thread has a lot of views in just 1 day and a half!
I will play around with the source and get back with you.
Sent from my Galaxy Nexus using xda premium
Only thing I could find in Launcher2 is in drawable-xhdpi. The first PNG is apps_customize_bg.png and its a black image. Didn't see any XML files related to app drawer, which leads me to think its all hidden in smali code or another apk.
Sent from my Galaxy Nexus using XDA App
@AndHel Great! That's the answer I was waiting for! Thank you so much...I hope we'll be able to find something relatively easy to handle ;D
BTW, it would be very interesting knowing a bit more about Android decompiling and modding...if you want, explain me (even very quickly) how will you reach certain files/configurations, if you'll do, when you'll do.
@mb02 Thank you for your efforts too, I hope you're wrong but I fear you're right...absolutely not even a single word that remembers the "app drawer"! Maybe with your patience, we'll find out more!
...and I keep searching around /system for any kind of thing graphic-related to this damned drawer ;P
ledoweb said:
@AndHel Great! That's the answer I was waiting for! Thank you so much...I hope we'll be able to find something relatively easy to handle ;D
BTW, it would be very interesting knowing a bit more about Android decompiling and modding...if you want, explain me (even very quickly) how will you reach certain files/configurations, if you'll do, when you'll do.
@mb02 Thank you for your efforts too, I hope you're wrong but I fear you're right...absolutely not even a single word that remembers the "app drawer"! Maybe with your patience, we'll find out more!
...and I keep searching around /system for any kind of thing graphic-related to this damned drawer ;P
Click to expand...
Click to collapse
In every iteration of Android prior, including skinned versions (Sense, TW, blur) the app drawer coding and images resided in the launcher (Rosie, Launcher, etc). The naming, however, wasn't ever "app drawer" but "all apps" as drawer was never he official term for the all apps view. Rosie launcher had multiple XML files in the Rosie.apk res/layout folder that dealt with this "all apps" as well as related images. With the absence of anything related to apps in this Launcher2.apk, I feel as though everything was moved to smali or in another apk, unless they cleverly hid it in another XML in Launcher2.
Sent from my Galaxy Nexus using XDA App
It's within /res/layout in Launcher2. The file is called apps_customize_pane.xml
Just change the 2 values ff000000 into something else, i.e. bb000000 to make them slightly transparent.
It sounds promising...i thought that file was for a screen called "apps customization"
...may I ask which other letters could I use to increase/decrease opacity? AFAIK, numbers are for color and letters are for alpha...right?
Anyway, thanks so much for this solution! - I'll give it a try as far as I can. BTW, no way to replace a colour with something better, like a .png? Maybe just removing that string, and replacing it with something slightly different...
Edit: I'm having troubles in editing that .xml. Apktool fails decompiling Launcer2.apk probably because I'm using an old version of the android SDK, and this means...that I'm stuck at unreadable .xmls. I'm waiting for the SDK manager to have all updates installed, and then I might be able to finally "undress" this damned drawer ;P
This is likely harder than you expect. A few technical notes (and yes it's possible this will be a Nova feature in the future but it's not officially planned at this time).
1) App drawer is indeed called "AppsCustomizePagedView"
2) When viewing the app drawer, the launcher disables the wallpaper from showing (I believe as an optimization). I think if you made the drawer fully transparent you would see (in order from top to bottom):
Drawer
Smaller sized home screens
Black background
If you're editing source you can prevent the black background by changing updateWallpaperVisibility(). To hide the home screens you'd probably have to change the animation code in showAppsCustomizeHelper which could be a bit tricky.
[email protected] said:
This is likely harder than you expect. A few technical notes (and yes it's possible this will be a Nova feature in the future but it's not officially planned at this time).
1) App drawer is indeed called "AppsCustomizePagedView"
2) When viewing the app drawer, the launcher disables the wallpaper from showing (I believe as an optimization). I think if you made the drawer fully transparent you would see (in order from top to bottom):
Drawer
Smaller sized home screens
Black background
If you're editing source you can prevent the black background by changing updateWallpaperVisibility(). To hide the home screens you'd probably have to change the animation code in showAppsCustomizeHelper which could be a bit tricky.
Click to expand...
Click to collapse
i managed to get the app drawer transparent and indeed a black background..
but cant find updatewallpapervisibility anywhere
where can it be found? is it a xml or in a xml ?
thnx!
For that you have to edit source files and recompile, it's not just an XML edit.
Sent from The Past into The Future via The Present.
Milamber33 said:
For that you have to edit source files and recompile, it's not just an XML edit.
Sent from The Past into The Future via The Present.
Click to expand...
Click to collapse
ok!thnx!
i found the trebuchet source on gethub
i managed to change the source so the black screen and all is gone and the drawer is transparent.. but i cant test it because i dont know how to compile it
can you tell me ? thnx
There are plenty of tutorials on setting up an Android build environment and compiling the source floating around. They will be far more detailed and useful than I could be.
Sent from The Past into The Future via The Present.
I did it
I made it transparent its on a thread i started
locomain said:
I did it
I made it transparent its on a thread i started
Click to expand...
Click to collapse
Where is the thread?
Im gonna play around with this a bit when I have the chance....
But, using APKtool to decompile or recompile is very similar....
If you already have apktool all setup with your Roms framework file, and you already decompiled the file...... to recompile, all you have to do is use the command "apktool b foldername"
where folder name is the folder that it decompiled the apk to (likely Launcher2)

Categories

Resources