If set Scale type = CENTER_CROP nothing happens the image is still resized to match ImageView bounds
On Mon, May 3, 2010 at 11:04 AM, manigault <manig...@gmail.com> wrote: > Hi all, i have ImageView which is taking rectangular layout width = > 40dp height = 30dp and images that i'am displaying are 40x40 and they > are scaled to rectangle. How can i tell the ImageView not to scale the > image but to cut the image parts that not fit in the size. I want the > image to stay 40dp height and to cut 5 dp from top and botton. -- When I raise my flashing sword, and my hand takes hold on judgment, I will take vengeance upon mine enemies, and I will repay those who haze me. Oh, Lord, raise me to Thy right hand and count me among Thy saints. -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en