aspose file tools*
The moose likes Android and the fly likes manage different screen sizes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "manage different screen sizes" Watch "manage different screen sizes" New topic
Author

manage different screen sizes

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1031
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
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
That's what you'd use the emulator for that's part of the Android SDK. It can emulate all kinds of screen sizes.


Ping & DNS - updated with new look and Ping home screen widget
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1031
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
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
#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
 
subject: manage different screen sizes
 
Similar Threads
Button Sizes
Need Help on the scrolling Bar in Android?
Layouts, bottom position
how to handle different screen sizes
how to put button inside a SurfaceView and on the bootom of the screen?