dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.24k stars 1.76k forks source link

A Grid in a ListView - Why won't it render properly in Android? #25533

Open antonycartwright opened 2 weeks ago

antonycartwright commented 2 weeks ago

Description

Hi All, I have a really simple setup, shown below in windows:

Image

But in Android, it renders like this (below) for no apparent reason. You can negotiate with it by setting lots of heights and so on, but then other problems come. By the time you've messed with it, it becomes unwealdy.

Image

Origainally, I had a frame in it also, but it seems that frames make the problem worse in Android.

Here's my code:

`

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

9.0.0-rc.2.24503.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

jaosnz-rep commented 1 week ago

Could you provide us with a sample project so we can investigate it further? Looking forward to your reply!

dotnet-policy-service[bot] commented 1 day ago

Hi @antonycartwright. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.