I'm trying to scale down an ImageView to be used in a relative layout as a listView row, but the image is just not resizing. Any ideas of what I could be missing?? 64 dip is much smaller than the original source.
<dimen name="friend_favorite_image_size">64dip</dimen>
<ImageView
android:id="@+id/friend_user_image"
android:layout_width="@dimen/friend_favorite_image_size"
android:layout_height="@dimen/friend_favorite_image_size"
android:layout_alignParentRight="true"
android:layout_marginRight="@dimen/friend_favorite_margin"
android:scaleType="fitXY"
android:adjustViewBounds="true"
scr="@drawable/placeholder_user" />
ImageView friendImage = (ImageView)rowItem.findViewById(R.id.friend_user_image);
friendImage.setImageResource(R.drawable.placeholder_user);