title: re-setting a TextView height programmatically
body: <p>I want to reset a textView height after I have added it to the main window in the xml file.</p>
  
  <p>inside a RelativeLayout, </p>
  
  <pre><code>  &lt;TextView
        android:id="@+id/text_l"
        android:layout_width="50sp"
        android:layout_height="50sp"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_marginLeft="10sp"
        android:layout_marginTop="145dp"
        android:gravity="center"
        android:textAppearance="?android:attr/textAppearanceLarge"
        android:textColor="#000000" &gt;
    &lt;/TextView&gt;
  </code></pre>
  
  <p>I just want to change it from 50 to 70:</p>
  
  <p>I tried:</p>
  
  <pre><code> TextView text = (TextView)findViewById(R.id.text_l);
   text.setHeight(70);
  </code></pre>
  
  <p>but nothing changed.</p>