Android: Handling images size for multiple screens

前端 未结 6 1518
情歌与酒
情歌与酒 2021-01-05 17:51

I find it really hard to handle images with Android, I think it\'s the hardest part of Android development...

1) I have an image, I want it to be the background of m

6条回答
  •  情歌与酒
    2021-01-05 18:16

    Try this:

    I met the issue lot of time for my layout deigns.Finally i got a solution that's like

    I have create the layouts folders for different screen like small and large. Orginal layout folder xml file is working only for normal layout that is HVGA So create the folder with name=layout-small for small layout and put the xml files here. Then you create the folder with folder name=layout-long for large layout amd xml files here for that layouts.

提交回复
热议问题