title: How to increase the height of view in Android?
body: <p>I created view the middle of layout in Android application. But I want it to be increase the height of view by pressing the binary number on keypad. I don't have any idea how to implement it. </p>
  
  <p>Here is my XML file:</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="fill_parent"
      android:layout_height="fill_parent"
      android:gravity="center"
      android:orientation="vertical"
      android:padding="20dp" &gt;
  
      &lt;TextView
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:gravity="center"
          android:paddingBottom="20dp"
          android:text="@string/textstr" /&gt;
  
      &lt;View
          android:layout_width="70dp"
          android:layout_height="150dp"
          android:background="#9400d3" /&gt;
  
  &lt;/LinearLayout&gt;   
  </code></pre>