Android Question Disable Scrollview Scroll (Prevent Scrollview from scrolling)

chrjak

Active Member
Licensed User
Longtime User
Hey Community

I am fully aware of catching all touch events with another view on top of the scrollview

however if you put a panel or imageview inside the scrollview itself it will not fire. I cannot put the Catching Panel outside the ScrollView Panel as there are other Items in that scrollview that have to be touchable

Has anyone an idea?

Best regards
 

chrjak

Active Member
Licensed User
Longtime User
Oh and Sv.scrolltonow(lastScrollposition) in scrollpositionchanged does somehow not work for me

Also trying to detect scrolling and then removing the panel outside the scrollviewpanel to the activity above the whole scrollview (and putting it back in afterwards) does not work for me either
 
Upvote 0

chrjak

Active Member
Licensed User
Longtime User
I am trying to accomplish an Animation like in Stock Samsung Apps (OneUI) or like the one in this Application: Energy Ring S10 (General Settings on top left disappears slowly when scrolling)

I have done this by using two scrollviews and now i need to disable scroll on the first one *without* blocking Buttons inside that SV
 
Upvote 0
Top