I am trying to get my xml for my android app working but i have some problems. I am trying to display to equal sized images side by side in a linear layout. There has to be a margin between them , on both sides right and left, and on top.How can I make such an xml file so that it is universal and usable for any screen size?