title: removing layout parameter programmatically
body: <p>I am using the following code to set the parameters of a layout programatically</p>
  
  <pre><code>LinearLayout text;
  text = (LinearLayout) findViewById(R.id.text);
          RelativeLayout.LayoutParams layoutParams = 
              (RelativeLayout.LayoutParams)text.getLayoutParams();
      layoutParams.addRule(RelativeLayout.ALIGN_PARENT_RIGHT);
  </code></pre>
  
  <p>I am guessing that this sets the alignParentRight vale to true. Is it possible for me to programmatically set this value to false as well if I need to?</p>