Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

manage different screen sizes

 
Ranch Hand
Posts: 1325
1
  • 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.
 
Rancher
Posts: 43016
76
  • 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.
 
shawn peter
Ranch Hand
Posts: 1325
1
  • 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
Posts: 43016
76
  • 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.
 
    Bookmark Topic Watch Topic
  • New Topic