Issue
Which layout should I use for HVGA screen? For a small screen, I put all my XML files in layout-small
directory. Similarly for devices like Nexus S and Samsung Galaxy S which have a resolution of 480 x 800. I put all my XML files in the layout directory.
But for HVGA I didn't find any solution. Where to put the XML file for the HVGA device?
Is there any option like layout-small that I can do for HVGA devices? When I run the for HGVA device it takes the layout from the layout directory but as the resolution for HVGA devices is smaller than Nexus S devices, the layout does not properly appear. So I want to know.
Solution
According to this
Normal: Screens that are of similar size to a medium-density HVGA screen. The minimum layout size for a normal screen is approximately 320x470 dp units. Examples of such screens a WQVGA low density, HVGA medium density, WVGA high density.
MDPI: Medium-density (on traditional HVGA) screens; approximately 160dpi.
You should try: drawable-normal-mdpi
Answered By - mthpvg
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.