Hi All, I have an imageview and i set background and source for that. How to crop the imageView that fits exactly with image alone.
In the attachment oval is the image. how do i set that while background color only for the image. I tried with scaleType but no luck and i attached the code i tried <ImageView android:layout_height="wrap_content" android:layout_width="wrap_content" android:scaleType="centerCrop" android:src="@drawable/circle" android:background="#ffffff" android:id="@+id/image"></ImageView> Thanks in Advance. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
<<attachment: imagebackground.png>>