title: how to set padding or margin to linear layout?
body: <p>I have a linear layout</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/layout_menu"
  android:layout_width="fill_parent"
  android:layout_height="70px"
  android:layout_alignParentBottom="true"
  android:background="@drawable/footer_bar"
  android:gravity="center" &gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>When i set condition</p>
  
  <pre><code>if (constant.getscreenresolution() &gt;= 800) {
      //i want to make it height * 2
  }
  </code></pre>
  
  <p>So how to set the <code>layout params</code>?</p>