title: Custom imageview not added in linear layout runtime
body: <p>My need is to add circle imageview in linear layout runtime.</p>
  
  <p>I tried code mentioned below, but it not give me a solution, but if i try the default image view it works fine, but creating problem in custom imageview(com.mikhaellopez.circularimageview.CircularImageView).</p>
  
  <p>can any one suggest or help me to come out from this.</p>
  
  <pre><code>for (int i = 0; i &lt; al_friends.size(); i++) 
  {
  
      ImageView  iv_friend_profile = new com.mikhaellopez.circularimageview.CircularImageView(ProfileActivity.this);
  
      iv_friend_profile.setImageResource(R.drawable.ic_launcher);
      iv_friend_profile.setTag(i);
      iv_friend_profile.setOnClickListener(new FriendProfileClicker());
      ll_friends.addView(iv_friend_profile);
  
  }
  </code></pre>