문제

My Application name is being truncated in some of mobiles is there any solution to show full name in all mobiles?

도움이 되었습니까?

해결책 2

Your application name is not truncated. The launcher that is installed on the mobile that displays your app decides of a reasonable length for a title to display. Each different launcher has different rules for that (based on the screen resolution, the user settings, etc.), so you're never fully in control.

  • It's not big deal to display a partial title: the user knows what he's downloaded
  • If you want to make sure everyone has a full name displayed, use a shorter name!

다른 팁

you can split the name like "android\nAppliction" Define application name in String.xml and '\n' seperator used to split the application name

If it's too long, It will truncated to fit into the launcher. The launcher app also controls this behavior. Apart from shortening the name, there's not much else you can do.

Sorry but the answer is no. You can't do anything about it. Shorter name perhaps?

I noticed this happening on an old phone of mine, the name was slightly too long so "mylongappname" looked like:

mylongappnam
     e

My only recourse seems to be to add a dash "mylongapp-name". I wish there were a faux character one could add to tell android where to split the name if it needs too, but otherwise leave it as one word.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top