Are you saying that the X gets scaled up to the full size of the
ImageView as though the transparent border were not there? I have an
ImageView that displays photos in their native pixel dimensions up
to a max size by doing this:
ImageView android:id=@+id/photo
Well... I should thank you. Based on your XML, I tried
android:scaleType=fitCenter and the image now appears as-is, without
any scaling.
I'm confused as to why this works and not just
android:scaleType=center. Based on the docs (http://
developer.android.com/reference/android/widget/
2 matches
Mail list logo