Skip to content Skip to sidebar Skip to footer

Design Images For Android Screens

I'm designing splash images for an Android app. But when it comes to different screen sizes and resolutions, i'm stuck at the root. I have understood that there should be a 3:4:6:8

Solution 1:

Just make sure you mention fill_parent for height and width attribute. That would be just fine.

Reg the image designing the best way is to create a 9 patch image. If you create different image for diff sets of device. It is a over head always. Check this and this

Solution 2:

Simply you can use the Image view to set the screen content.

ImageView iv=ImageView(this);
iv.setLayoutParams(newLayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));
......
 ......
......
setcontentView(iv);

This will match for the screen width and height.

Post a Comment for "Design Images For Android Screens"