title: Padding not working Android
body: <p>The following code is from the layout I have been designing for my app. The problem is, Button is overlapping a PlainText box so I added padding in the button code as shown below but the preview is still showing Button to overlap the textbox. What is problem? Am I missing something?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"
  android:weightSum="100"
  android:padding="25dp" &gt;
  
  &lt;ScrollView 
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_weight="30"
  &gt;
  
  &lt;LinearLayout 
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:orientation="vertical"
  &gt;
  &lt;TextView
      android:id="@+id/textView1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="TextView" /&gt;
  
  &lt;EditText
      android:id="@+id/editText1"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:ems="10" &gt;
  
      &lt;requestFocus /&gt;
  &lt;/EditText&gt;
  
  &lt;TextView
      android:id="@+id/textView2"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="TextView" /&gt;
  
  &lt;EditText
      android:id="@+id/editText2"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:ems="10" /&gt;
  
  &lt;TextView
      android:id="@+id/textView3"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="TextView" /&gt;
  
  &lt;EditText
      android:id="@+id/editText3"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:ems="10" /&gt;
  
  &lt;TextView
      android:id="@+id/textView4"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="TextView" /&gt;
  
  &lt;EditText
      android:id="@+id/editText4"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:ems="10" /&gt;
  
  &lt;TextView
      android:id="@+id/textView5"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="TextView" /&gt;
  
  &lt;EditText
      android:id="@+id/editText5"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:ems="10" /&gt;
  
  &lt;TextView
      android:id="@+id/textView6"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="TextView" /&gt;
  
  &lt;EditText
      android:id="@+id/editText6"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:ems="10" /&gt;
  &lt;/LinearLayout&gt;
  &lt;/ScrollView&gt;
  
  &lt;LinearLayout 
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:orientation="vertical"
      android:layout_weight="40"&gt;
  &lt;Button
      android:id="@+id/button1"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:paddingTop="20dp"
      android:text="Button" /&gt;
  &lt;/LinearLayout&gt;
  
  &lt;LinearLayout 
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_weight="30"
      android:orientation="vertical"&gt;
  &lt;AnalogClock
      android:id="@+id/analogClock1"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>Thanks for your help!</p>