Forum Xamarin.Forms

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

XF Listview on Android Marshmallow giving very large blank area before first item

PaulReadPaulRead GBMember ✭✭

Suddenly my app (in debug or release) on my Nexus 5 running Marshmallow has a massive (about 1 screen length in size) blank space before the first item in the list.

This same issue exists if I build and run:
https://github.com/xamarin/xamarin-forms-samples/tree/master/UserInterface/ListView/Interactivity/interactivityListView

The list view appears on the phone but you have to scroll it to see the first item

'Xamarin Studio
Version 5.9.7 (build 22)
Installation UUID: 8f54d377-52d1-43be-a901-0272a78ef409
Runtime:
Microsoft .NET 4.0.30319.42000
GTK+ 2.24.22 (MS-Windows theme)
GTK# 2.12.26

Xamarin.Android
Version: 5.1.7 (Indie Edition)
Android SDK: C:\Android\sdk
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
4.4 (API level 19)
4.4.87 (API level 20)
5.0 (API level 21)
5.1 (API level 22)
6.0 (API level 23)
Java SDK: C:\Program Files (x86)\Java\jdk1.7.0_55
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) Client VM (build 24.55-b03, mixed mode, sharing)'

There's a bug somewhere, but where?

Tagged:

Best Answers

Answers

  • PaulReadPaulRead GBMember ✭✭

    Note issue does not appear in Xamarin Android Player running Lollipop

  • PaulReadPaulRead GBMember ✭✭

    Works fine on Android 5.1.1

  • PaulReadPaulRead GBMember ✭✭

    Fantastic!

  • PaulReadPaulRead GBMember ✭✭

    @SpaceMonkey that indeed fixed it - cheers!

  • ThibaultDThibaultD SEMember ✭✭✭

    @TheRealJasonSmith said:
    This is resolved int eh next pre-release. We got caught a bit off-guard with a change in Android-M

    From which release is this fixed?

  • ThibaultDThibaultD SEMember ✭✭✭

    @TheRealJasonSmith
    I know that many bug fixes could not make it into 2.0.0 and I don't see this issue mentioned in the release notes, so I guess it will be addressed in 2.0.1?

  • PaulReadPaulRead GBMember ✭✭

    Great I'll remove my bodge around code and try again

Sign In or Register to comment.