title: Android: Set an imageview to the bottom of my relativelayout
body: <pre><code> RelativeLayout overlay = new RelativeLayout(this);
              addContentView(overlay, new LayoutParams(LayoutParams.FILL_PARENT, px));
              overlay.setBackgroundColor(Color.BLACK);
  
  
              border = new ImageView(this);
              border.setImageResource(R.drawable.featured_bar);
              border.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT));
  
              overlay.addView(border);
  </code></pre>
  
  <p>I would like to get <strong>my border imageview to sit at the bottom of my relativelayout</strong>, and <strong><code>programmatically</code></strong> or course.</p>
  
  <p>Basically, I want my decorative border to be at a certain position relative to the resolution, and since I do not know how to position using x y values, I've come to this method.</p>