title: remove rule from RelativeLayout before api 17
body: <p>Prior to API 17, how do I remove a rule from a layout? I have a RelativeLayout with a number of children. The RelativeLayout is the main layout of my activity. After adding the rule programmatically using </p>
  
  <pre><code>RelativeLayout.LayoutParams layout = (LayoutParams) theChild.getLayoutParams();
  layout.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM);
  </code></pre>
  
  <p>I need to remove the rule programmatically at some later time. How would I do this assuming earlier API than 17?</p>