简体   繁体   中英

App not working on certain phones

People have been experiemcing a problem with my android app. Apperently what is happening is on phones such as the Droid x and cliq cupcake have been experiencing the main menu not showing the letters on the buttons and in some occasions it will cause a force close in certain sections. My buttons do have picture backgrounds if that could be the cause and the app is set for version 1.6. Not sure if either has anything to do with it. If anyone has experienced it or has any ideas I would appreciate some help. Thanks alot

It should work on every phone if you read this post carefully

http://developer.android.com/guide/practices/screens_support.html

In best practices part recommended list is here.

  • Use wrap_content, fill_parent, or the dp unit (instead of px), when specifying dimensions in an XML layout file
  • Do not use AbsoluteLayout
  • Do not use hard coded pixel values in your code
  • Use density and/or resolution specific resources

Every android developer should read that post to support for multiple screens.

Hope this helps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM