title: How to set android:layout_alignParentLeft attribute to imageview in code?
body: <p>I want to achieve the same thing in code as it is in this xml (this imageview is inside relative layout):</p>
  
  <pre><code>                          &lt;ImageView   
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_alignParentLeft="true"
              android:src="@drawable/logo"/&gt;
  </code></pre>
  
  <p>I know how to set layout width and height, but don't know how to set layout_alignParentLeft="true".</p>
  
  <p>Is it possbile to do this in code?</p>