Skip to content Skip to sidebar Skip to footer

Android Scrollview Not Working Properly

I developed an android application in which the scroll-view is not scrolling.. I am posting the code here pls check and if found any error pls help.. Here I used Linear Layout as r

Solution 1:

You have used fill parent for your Scrollview height layout Use android:layout_height="wrap_content" for scrollview

And i am sugesting to use LinearLayout with vertical orientation layout for this kind of use

Solution 2:

Remove RelativeLayout with id "header901", it is useless, you can just leave headertext901 withe the main LinearLayout as parent ...

Then remove the following tags from SCrollView :

android:scrollbars="vertical"android:fillViewport="true"

I would also advise to replace your RelativeLayout with id "lLayout901" by a LinearLayout, and follow @Martin Marconcini's advice to replace fill_parent with match_parent.

Post a Comment for "Android Scrollview Not Working Properly"