I want to support my android screen in multiple screen sizes but i can do it with maintaining multiple xml layout file\'s
but according to requirement it i supposed to b
If you want to use single layout and that should support all the screens like ldpi, , mdpi, hdpi, x-hdpi, xx-hdpi then you have to use weight in your layout that will handle screen size for all the screens.
Here’re a few things:
If you want to divide the space equally between Views with the same weight – set 0dp as Views’ width.
If you set View width to wrap_content – size of the Views will depend on weight and content inside each View.