Android Question ScrollView issue with full screen

sktanmoy

Active Member
Licensed User
Longtime User
I wanted the scroll view to be displayed on the whole screen, bet always getting some blank spaces in the bottom part.

Demo project and screenshot should be attached, can you please check and help me to fix?

Thanks

 

Attachments

  • sv.zip
    8.7 KB · Views: 160

klaus

Expert
Licensed User
Longtime User
The problem you see is due to the height of the inner panel which is by default 500.
If you set it's value to 1000 it will fill to whole screen.

Instead of using the code below in the DesignerScript:
ScrollView1.SetLeftAndRight(0%x,100%x)
ScrollView1.SetTopAndBottom(0%y,100%y)

You can remove it and make the ScrollView fill the screen in the Designer and set the anchors to both.



You should post smaller images.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…