Bug 39815 - ScrollView is overlapping other content in StackLayout on Android
Summary: ScrollView is overlapping other content in StackLayout on Android
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.1.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-03-21 16:13 UTC by blitzillu
Modified: 2016-03-23 16:04 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Sample project demonstrating the issue (801.63 KB, application/zip)
2016-03-21 16:13 UTC, blitzillu
Details
Screenshots from simulator of all plattforms (38.57 KB, application/zip)
2016-03-22 09:11 UTC, blitzillu
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description blitzillu 2016-03-21 16:13:44 UTC
Created attachment 15475 [details]
Sample project demonstrating the issue

I have some content above and below a scroll view. The scroll view should be in the middle. Only on Android I'm observing the following behavior on the Android emulator (4.4 API 19):

The scroll view extends below the top and bottom content so that it overlays the other content elements.

This is only on Android. iOS and Windows Phone are working fine. Is there a wrong layout option or why does it behave differently on Android? I tried a few layout options without success.

Versions:

Microsoft Visual Studio Professional 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01038

Installed Version: Professional

Xamarin   4.0.1.147 (1cc3a99)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Inspector Support   0.5.0.0 (45b35bb)
Adds support for inspecting Xamarin and WPF apps.

Xamarin.Android   6.0.2.1 (46c3f7e)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.4.2.28 (686b410)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.Forms 2.1.0.6529
Comment 1 Samantha Houts [MSFT] 2016-03-22 00:11:43 UTC
Thank you for taking the time to submit this report and reproduction project. Unfortunately, we were unable to reproduce the problem as described. The app appears identically on all three platforms for us. Would it be possible for you to attach screenshots that illustrate the behavior you are experiencing?


Warm regards,
Xamarin Forms Team
Comment 2 blitzillu 2016-03-22 09:11:06 UTC
Created attachment 15482 [details]
Screenshots from simulator of all plattforms

Now I also organized an Android device and it works on the device (HTC One M7), but not on the simulator. So I think this bug report can be closed. I also saw that the solution file is missing from my attached project, but I don't think it is necessary to reupload it.
Comment 3 Samantha Houts [MSFT] 2016-03-22 17:49:02 UTC
Wow, that's very different! Are you using the Xamarin Android Player or the Visual Studio Android emulator?
Comment 4 blitzillu 2016-03-23 16:02:40 UTC
None of the both. Didn't know that these options exists. Thank you, I'll try them out. I was using the default Android emulator shipped with the Android SDK. All managed with the Android Virtual Device Manager.
Comment 5 Samantha Houts [MSFT] 2016-03-23 16:04:43 UTC
Ok, great! I'll go ahead and close this for now. If you experience any other strange issues, feel free to contact us again! Thank you!