Skip to content

How to fit image in full screen in ImageViewTouch #30

@saurabhkpatel

Description

@saurabhkpatel

I am using ImageViewTouch library to zoom a image instead of imageview.

<it.sephiroth.android.library.imagezoom.ImageViewTouch
android:id="@+id/imageweb"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:adjustViewBounds="true"
android:background="@drawable/bg_loading"
android:scaleType="fitCenter" />

I want to load the image on ImageViewTouch control and the width of image will auto fits my screen. How to fit only width and height both to my mobile screen?

Here when i do 3 times double tap means in 1st time its get zoomed in 2nd time also but in 3rd times its fits to height and width of the the device screen.(I want this 3rd time result at the time of first load of normal image)

But its not loaded fit to height and width (X and Y) at first time.? Please help me to sort out this issue.

I already tried with android:scaleType="fitXY" but its not working

I used this library classes May be i have to change here some thing.

first second

Thank you for support

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions