title: How do I make elements align in an absolute layout?
body: <p>I need to align a set of text fields in an absolute layout. Here I'm posting an image. I want to make these text fields vertically and horizontally align. I showed only three sets but in my real app want to add up to 10 sets. To me it is very difficult to align them.</p>
  
  <p><img src="https://i.stack.imgur.com/en29y.png" alt="enter image description here"></p>
  
  <p>I'm a beginner Android developer so I don't have proper idea how to do this. Please explain me what is the best way to do this.</p>
  
  <p>Here is my layout code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:orientation="vertical" &gt;
  
  &lt;EditText
      android:id="@+id/editText1"
      android:layout_width="78dp"
      android:layout_height="wrap_content"
      android:layout_x="81dp"
      android:layout_y="56dp" /&gt;
  
  &lt;EditText
      android:id="@+id/EditText01"
      android:layout_width="78dp"
      android:layout_height="wrap_content"
      android:layout_x="202dp"
      android:layout_y="58dp" /&gt;
  
  &lt;EditText
      android:id="@+id/EditText02"
      android:layout_width="78dp"
      android:layout_height="wrap_content"
      android:layout_x="82dp"
      android:layout_y="130dp" /&gt;
  
  &lt;EditText
      android:id="@+id/EditText03"
      android:layout_width="78dp"
      android:layout_height="wrap_content"
      android:layout_x="205dp"
      android:layout_y="127dp" /&gt;
  
  &lt;EditText
      android:id="@+id/EditText04"
      android:layout_width="78dp"
      android:layout_height="wrap_content"
      android:layout_x="82dp"
      android:layout_y="197dp" /&gt;
  
  &lt;EditText
      android:id="@+id/EditText05"
      android:layout_width="78dp"
      android:layout_height="wrap_content"
      android:layout_x="205dp"
      android:layout_y="196dp" /&gt;
  
  &lt;/AbsoluteLayout&gt;
  </code></pre>