title: Changing a LinearLayout height dynamically
body: <p>I'm trying to change the height of a <code>LinearLayout</code> height dynamically during the app run but I always get a <code>NullPointerException</code>. I tried the handler with:</p>
  
  <pre><code>LinearLayout.LayoutParams parms = new linearLayout.LayoutParams(width,height);
  </code></pre>
  
  <p>I also tried to change the layout color and got the same error.
  any idea?</p>
  
  <p>Thank you</p>