title: Android, how to add to parameters to LayoutParams
body: <p>I want to add two parameters to LayoutParams:</p>
  
  <pre><code> View bar1 = new View(this);
   bar1.setBackgroundResource(R.drawable.blue_bar);
   RelativeLayout.LayoutParams relativeParams1 = new RelativeLayout.LayoutParams(68, (int(aValue));
  
   relativeParams1.bottomMargin=50;
   Log.i(TAB, relativeParams1.debug(OUTPUT));
       linearLayout.addView(bar1, relativeParams1);
  </code></pre>
  
  <p>but only width and height is changing. The included logcat show me that</p>
  
  <pre><code>ViewGroup.LayoutParams={ width=68, height=300 }
  </code></pre>
  
  <p>How do I change the margins too?</p>