Android ScrollView not working properly

心已入冬 提交于 2019-11-29 07:39:15

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

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!