title: Not able to increase the size of EditText Box in android
body: <p>I am trying to make the layout of signup form. But the size of EditText box is so small. It should be increased. I am confused about font-padding, android width, layout margin left &amp; right. What they means. How are they helping in the code. I have attached screenshot of this layout at this url:</p>
  
  <p><a href="http://imgur.com/a/oWipg" rel="nofollow">http://imgur.com/a/oWipg</a></p>
  
  <pre><code>   &lt;?xml version="1.0" encoding="utf-8"?&gt;
          &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android"  
         xmlns:tools="http://schemas.android.com/tools"
        android:id="@+id/ScrollView01"  
        android:layout_width="match_parent" 
        android:layout_height="match_parent" 
        android:layout_gravity="center_vertical" &gt;  
  
      &lt;TableLayout 
        android:layout_width="match_parent"
       android:layout_height="wrap_content" &gt;
  
  
  
      &lt;TextView
      android:layout_width="150dp"
      android:layout_height="50dp" /&gt; 
  
  
          &lt;TableRow
          android:layout_height="wrap_content"  
          android:layout_width="match_parent"  
          android:gravity="center_horizontal" 
          android:layout_gravity="center"
          &gt;
  
          &lt;TextView 
                  android:text="@string/signup_name"
                  android:width="1dp"
                android:includeFontPadding="false"       
                   /&gt;
          &lt;!-- android:layout_marginRight="-90dp" --&gt;
          &lt;EditText 
                  android:id="@+id/signup_name_value"
                  android:inputType="text"
                  android:includeFontPadding="false"       
                  android:width="1dp"
  
                  android:layout_marginRight="30dp"
                  android:layout_marginLeft="-150dp" /&gt;
  
      &lt;/TableRow&gt;
      &lt;TableRow 
           android:layout_height="wrap_content"  
          android:layout_width="match_parent"  
          android:gravity="center_horizontal" 
          android:layout_gravity="center"&gt;
          &lt;TextView 
                  android:text="@string/signup_email"
                  android:width="1dp" 
                  android:includeFontPadding="false"       
                   /&gt;
  
  
          &lt;EditText 
                  android:id="@+id/signup_email"
  
                      android:includeFontPadding="false"       
                  android:width="1dp"
                  android:layout_marginRight="30dp"
                  android:layout_marginLeft="-150dp" 
                  android:inputType="textEmailAddress"    /&gt;
  
      &lt;/TableRow&gt;
  
      &lt;TableRow
           android:layout_height="wrap_content"  
          android:layout_width="match_parent"  
          android:gravity="center_horizontal" 
          android:layout_gravity="center"&gt;
          &lt;TextView 
                  android:text="@string/signup_username"
                  android:width="1dp" 
                  android:includeFontPadding="false"       
                   /&gt;
  
          &lt;EditText 
                  android:id="@+id/signup_username_value"
  
                  android:includeFontPadding="false"       
                  android:width="1dp"
                  android:layout_marginRight="30dp"
                  android:layout_marginLeft="-150dp" 
                  android:inputType="text"        /&gt;
  
      &lt;/TableRow&gt;
  
      &lt;TableRow
           android:layout_height="wrap_content"  
          android:layout_width="match_parent"  
          android:gravity="center_horizontal" 
          android:layout_gravity="center"&gt;
          &lt;TextView 
                  android:text="@string/signup_password"
                  android:width="1dp" 
                  android:includeFontPadding="false"       
                   /&gt;
  
             &lt;EditText 
                  android:id="@+id/signup_password_value"
  
                  android:includeFontPadding="false"       
                  android:width="1dp"
                  android:layout_marginRight="30dp"
                  android:layout_marginLeft="-150dp" 
                  android:inputType="textPassword"        /&gt;
  
       &lt;/TableRow&gt;
  
       &lt;TableRow
            android:layout_height="wrap_content"  
          android:layout_width="match_parent"  
          android:gravity="center_horizontal" 
          android:layout_gravity="center"&gt;
          &lt;TextView 
                  android:text="@string/signup_retype_password"
                  android:width="1dp" 
                  android:includeFontPadding="false"       
                   /&gt;
  
          &lt;EditText 
                  android:id="@+id/signup_retype_password_value"
                  android:includeFontPadding="false"       
                  android:layout_marginLeft="-150dp" 
  
                  android:width="1dp"
                  android:layout_marginRight="30dp"  
                  android:inputType="textPassword"        /&gt;
  
         &lt;/TableRow&gt;
  
          &lt;TableRow
          android:layout_height="wrap_content"  
          android:layout_width="match_parent"  
          android:gravity="center_horizontal" 
          android:layout_gravity="center"&gt;
          &lt;TextView 
                  android:text="@string/signup_address"
                  android:width="1dp" 
                  android:includeFontPadding="false"       
                  /&gt;
  
          &lt;EditText 
                  android:id="@+id/signup_address_value"
  
                  android:includeFontPadding="false"       
                  android:layout_marginLeft="-150dp" 
                  android:width="1dp"
                  android:layout_marginRight="30dp"  
                  android:inputType="text"        /&gt;
  
          &lt;/TableRow&gt;
  
         &lt;TableRow
          android:layout_height="wrap_content"  
          android:layout_width="match_parent"  
          android:gravity="center_horizontal" 
          android:layout_gravity="center"&gt;
             &lt;TextView 
                  android:text="@string/signup_phonenumber"
                  android:width="1dp" 
                  android:includeFontPadding="false"       
                   /&gt;
  
             &lt;EditText 
                  android:id="@+id/signup_phonenumber_value"
                  android:includeFontPadding="false"       
                  android:layout_marginLeft="-150dp" 
                  android:width="1dp"
  
                  android:layout_marginRight="30dp"    
                  android:inputType="phone"       /&gt;
  
           &lt;/TableRow&gt;
          &lt;TableRow
           android:layout_height="wrap_content"  
            android:layout_width="match_parent"  
            android:gravity="center_horizontal" 
             android:layout_gravity="center"&gt;
             &lt;CheckBox
                  android:id="@+id/signup_agree"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:text="@string/signup_agree"
                  /&gt;
      &lt;/TableRow&gt;
      &lt;TableRow
           android:layout_height="wrap_content"  
            android:layout_width="match_parent"  
            android:gravity="center_horizontal" 
          android:layout_gravity="center"&gt;
          &lt;Button 
                  android:id="@+id/signup_create_account"
                  android:text="@string/signup_create_account"
                  android:onClick="onClick5"/&gt;
      &lt;/TableRow&gt;
      &lt;TableRow
           android:layout_height="wrap_content"  
          android:layout_width="match_parent"  
          android:gravity="center_horizontal" 
          android:layout_gravity="center"&gt;
      &lt;TextView 
                  android:id="@+id/signup_or"
                  android:text="@string/signup_or" /&gt; 
          &lt;/TableRow&gt;
          &lt;TableRow
           android:layout_height="wrap_content"  
          android:layout_width="match_parent"  
          android:gravity="center_horizontal" 
          android:layout_gravity="center"&gt;
      &lt;Button
                  android:id="@+id/signup_facebook"
                  android:text="@string/signup_facebook"
                  android:onClick="onClick6" /&gt;
  &lt;/TableRow&gt;
  &lt;/TableLayout&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>