Android Question how lock the scroll view?

Discussion in 'Android Questions' started by Roberto P., Jul 28, 2015.

  1. Roberto P.

    Roberto P. Well-Known Member Licensed User

    how do I temporarily lock the scroll view? I have to lock the scroll in a certain position and unlock it when the user touches a certain point.

    I hope it's clear.
    thank you
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Have you tried to set ScrollView.Enabled = False ?
     
  3. Roberto P.

    Roberto P. Well-Known Member Licensed User

    yes, I tried but ScrollView moves equally
    thanks
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    You can put a transparent panel over the ScrollView and handle its click event. Assuming that there isn't anything that the user needs to interact with.
     
  5. Roberto P.

    Roberto P. Well-Known Member Licensed User

    I will try!
    thanks
     
Loading...