title: How to change width and height of Button in Android
body: <pre><code>&lt;Button android:text="Layer 1" 
          android:layout_width="wrap_content" 
          android:id="@+id/button1" 
          android:layout_height="wrap_content" 
          android:layout_alignParentTop="true" 
          android:layout_alignParentLeft="true" 
          android:layout_marginLeft="10dp" 
          android:layout_marginTop="50dp"
          android:width="100dp"
          android:height="20dp"&gt;
          &lt;/Button&gt;
  </code></pre>
  
  <p>I'm unable to change width and height of a Button. What's the problem?</p>