Skip to content

overScrollHorizontal ignored ? #230

@boldijar

Description

@boldijar

How do I?

 <com.otaliastudios.zoom.ZoomLayout
        android:id="@+id/zoom"
        app:overScrollHorizontal="false"
        app:overScrollVertical="false"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/black">

        <org.videolan.libvlc.util.VLCVideoLayout
            android:id="@+id/view_vlc_layout"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

    </com.otaliastudios.zoom.ZoomLayout>

As you can see here I’ve added

app:overScrollHorizontal="false"
        app:overScrollVertical=“false"

I’m trying to never let the content overscroll, and it works vertically, but doesn’t work horizontally. (I’m in landscape orientation)

Notice here the black bars left, where I can move the child view. It should stop before showing the black bars.

image

When I’m using portrait orientation the vertical overscroll property is ignored and I can scroll a lot

image

Version used

implementation 'com.github.tbouron.shakedetector:library:1.0.0@aar’

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions