File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

manage different screen sizes

 
sam liya
Ranch Hand
Posts: 1240
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have xml file with two buttons



this is working fine with medium screen(MY PHONE ). i need to confirm this app working fine with all type of screens.How many layout files need to added this work to all type of screens.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's what you'd use the emulator for that's part of the Android SDK. It can emulate all kinds of screen sizes.
 
sam liya
Ranch Hand
Posts: 1240
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1)how to use emulator to use this.I mean please give me an example.

2)Anyway if i create xml files for each layout type can you tell me how to do that?
3)If i need to handle images i found i need more density images.does more density mean larg image? elase how to create more density image from current image ?
can you please explain with example.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
#1: You'd use the android tool to create AVDs that you can then use with the emulator tool. In the process of doing that it will be obvious how to create AVDs emulating different screen sizes.

#2 and #3: http://developer.android.com/guide/practices/screens_support.html tells you all about it.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic