title: How to set gravity position to bottom right of parent?
body: <p>I am adding button in FrameLayout at run time, that I want to set at bottom|right of parent.</p>
  
  <pre><code>LayoutParams lp = new LayoutParams(android.widget.FrameLayout.LayoutParams.WRAP_CONTENT, 
                  android.widget.FrameLayout.LayoutParams.WRAP_CONTENT);
  
          lp.gravity = **Gravity.RIGHT**; 
          mSelf.setLayoutParams(lp);
  </code></pre>
  
  <p>How can I do it, any suggestion?</p>