xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.64k stars 1.88k forks source link

.net MAUI FlexLAyout do not display correctly in .NET 7 framework with Android #15725

Closed vsfeedback closed 1 year ago

vsfeedback commented 1 year ago

This issue has been moved from a ticket on Developer Community.


[severity:I'm unable to use this version] I have a project in .NET Maui with the .NET 6 Framework has a ContentPage with a FlexLayout. That ContentPage works perfectly with this configuratin. The problem is when I wanted to change the project to target .NET 7 framework. The following issues have occurred: 1: I have not been able to recompile the project even after a Clean. I decided to delete the obj and bin folders, but they were locked by Visual Studio, even after I closed it. I had to sign out from windows and relog to be able to delete the folders. I've already had that problem in other projects. From there I was able to rebuild the solution. 2: Once the solution was rebuilt, although it still worked well with Windows, with Android , the Flexlayout only had one column that occupied the entire width of the screen. I attach some screenshots and a small project with which the problem can be reproduced. FlexLayout with .NET 7.png FlexLayout with .NET 6.png FlexLayout.zip


Original Comments

Feedback Bot on 3/27/2023, 06:53 PM:

(private comment, text removed)


Original Solutions

(no solutions)

samhouts commented 1 year ago

This issue was moved to dotnet/maui#14500