Skip to content Skip to sidebar Skip to footer

Clicking On Edittext Inside Nested Scrollview Scrolls Outer Scrollview

I have a parent horizontalScrollview that contains various layouts. In one particular layout there is a scrollview. Inside that scrollview there is edittext. Now when I click on a

Solution 1:

I'm not sure if this will work, but you can try extending outer ScrollView class and handle its onScroll events on your own.

look here:

listening to scroll events horizontalscrollview android

Android: how to listen for scrolling events?

Solution 2:

I had the same issue, solved it by adding the following to AndroidManifest.xml file for the corresponding activity.

android:windowSoftInputMode="adjustResize"

Post a Comment for "Clicking On Edittext Inside Nested Scrollview Scrolls Outer Scrollview"