Thursday, 5 February 2015

How to fit my layout to screen using xml, grid / linear does not work



I have to make this kind of layout but I have no idea how to make it fit to the screen using xml code. There is a way using java code and getting screen resolution and then setting width and height of all components but it's not a good idea I think. Using grid layout you cant fit elements, using linear you cant make few in one line like this. I also tried to use few linear layout, but in this case its impossible to locate elements like I want to. Do you have any guess how to solve it?!


image: http://ift.tt/1zj50SV


No comments:

Post a Comment