How do I set tools on phone screen according to android phone height and width?
<p>I am new to Android layout development and have been tasked with designing and developing an application.</p>

<p>I have created the absolute layout but it is giving me different ways to output in different android phone versions. For example, when I set the <code>EditText</code>, <code>Button</code>, <code>TextView</code> etc. in my phone, I get a perfect view but when it runs on the client’s phone it looks very bad.</p>

<p>It is very important for me to set the same view for different phones. I would appreciate if someone can provide code examples for controls in absolute layout so I can get the same output on all phones and set height and width so that they are same in phones with different resolutions.</p>

<p>Thanks in advance.</p>
