I have a funny problem with this ImageView when I either zoom or pan on it. I load an image from my gallery via an Intent and loads in into the ImageView . See the problem here: https://www.youtube.com/watch?v=LDeYnVvIa-w
My xml:
<it.sephiroth.android.library.imagezoom.ImageViewTouch
android:id="@+id/imageView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginRight="0.5dp"
android:layout_weight="1"
android:background="#747474" />
<it.sephiroth.android.library.imagezoom.ImageViewTouch
android:id="@+id/imageView2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="#747474" />
</LinearLayout>
My code:
imageView1.setDisplayType(ImageViewTouchBase.DisplayType.FIT_TO_SCREEN);
imageView1.setImageURI(data.getData());
I have a funny problem with this
ImageViewwhen I either zoom or pan on it. I load an image from my gallery via an Intent and loads in into theImageView. See the problem here: https://www.youtube.com/watch?v=LDeYnVvIa-wMy xml:
My code: