Skip to content

Padding problem #93

@cbedoy

Description

@cbedoy

If you have a layout that contains paddings on ImageTouch'sLibrary, the view just put left margins, but ignore the other one

<it.sephiroth.android.library.imagezoom.ImageViewTouch
    android:padding="32dp"
    android:adjustViewBounds="true"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id="@+id/image_viewer_item_icon" />

Result with Paddings:
device-2016-11-27-004812

Result without Paddings:
device-2016-11-27-004917

Why ignored the other margins?

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