i am new to android development. I use the eclipse with android plug-in and just made an application on 2.1(update) platform. I deployed it on two different handsets both with OS 2.2. I made use of absolute layout, and gave required paddings in portrait and landscape modes by specifying all dimensions in pixels(i am using layout-land folder for landscape xmls). Now the problem is that in one of the phones with smaller screen size, in landscape mode, part of the page wont come, i.e. it goes out of the screen and i cant see or access that part of page. I want to be able to develop in such a way that in any phone, with any screen size, in any view mode(portrait or landscape) my page should align itself accordingly, and all should be seen. Whats the best way to achieve this??
Thanks in advance
i am new to android development. I use the eclipse with android plug-in and
Share
I think you need to start out with the basic android recommendations:
I would try to use Linear Layouts and relative layouts as far as possible, as they generally play better under differing screen circumstances.
However for a really professional look I would highly recommend that you define multiple screen layouts for a few typical screen sizes and both orientations. Androids internal support for this makes it very worth the effort.