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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "manage different screen sizes" Watch "manage different screen sizes" New topic
Author

manage different screen sizes

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1225
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: 42906
    
  69
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

Joined: Nov 25, 2008
Posts: 1225
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: 42906
    
  69
#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