How to set Image on CircleImageView when i clicked it?
<p>Here i want to create one circleimageview and set image on it from gallarIn which i create one circleimageview 
how to set images from gallary in circleimage view?</p>

<p><strong>My Xml file</strong></p>

<pre><code>    &lt;de.hdodenhof.circleimageview.CircleImageView
         xmlns:app="http://schemas.android.com/apk/res-auto"
         android:id="@+id/profile_image"
         android:layout_width="76dp"
         android:layout_height="76dp"
         android:src="@drawable/profile"
     &lt;/de.hdodenhof.circleimageview.CircleImageView&gt;
</code></pre>

<p>Here i created object of circeimageview
and pass intent for choose image from gallary</p>

<p><strong>In Java File</strong></p>

<pre><code>     profileImage =(de.hdodenhof.circleimageview.CircleImageView)findViewById(R.id.profile_image);
    profileImage.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {

            Toast.makeText(getApplicationContext(), "Profile Pic",      Toast.LENGTH_SHORT).show();
            Intent intent = new Intent();
            intent.setType("image/*");
            intent.setAction(Intent.ACTION_GET_CONTENT);//
            startActivityForResult(Intent.createChooser(intent, "Select File"),SELECT_FILE);
        }
    });

 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (resultCode == Activity.RESULT_OK) {
        if (requestCode == SELECT_FILE)
            onSelectFromGalleryResult(data);
    }
}
@SuppressWarnings("deprecation")
private void onSelectFromGalleryResult(Intent data) {
    Bitmap bm=null;
    if (data != null) {
        try {
            bm =    MediaStore.Images.Media.getBitmap(getApplicationContext().getContentResolver(), data.getData());
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
    profileImage.setImageBitmap(bm);
}
</code></pre>

<p>Help me to solve this.</p>

<p>want to create profile picture with circle image view.?</p>

<p>i found so many tutorial but there have no onclick event</p>