[Bug] MediaElement doesn't like being inside a StackLayout (particularly on Android) #9573
Comments
After more investigation this issue is about layouts in general, not just specifically the So it appears that the |
This seems to be present in the latest preview version as well. Any ETA on this? |
This should get the "MediaElement" label. It doesn't show up as a bug in that project. |
still facing same issue just on Android, any workaround for this? === Visual Studio Professional 2019 for Mac === Version 8.10.10 (build 8)
=== Mono Framework MDK === Runtime: === Roslyn (Language Service) === 3.10.0-4.21269.26+029847714208ebe49668667c60ea5b0a294e0fcb === NuGet === Version: 5.9.0.7134 === .NET Core SDK === SDK: /usr/local/share/dotnet/sdk/5.0.401/Sdks === .NET Core Runtime === Runtime: /usr/local/share/dotnet/dotnet === .NET Core 3.1 SDK === SDK: 3.1.413 === Xamarin.Profiler === Version: 1.6.15.68 === Updater === Version: 11 === Apple Developer Tools === Xcode 13.1 (19466) === Xamarin.Mac === Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version. === Xamarin.iOS === Version: 15.0.0.6 (Visual Studio Professional) === Xamarin Designer === Version: 16.10.0.119 === Xamarin.Android === Version: 11.3.0.4 (Visual Studio Professional) SDK Tools Version: 26.1.1 Build Information: === Microsoft OpenJDK for Mobile === Java SDK: /Users/vahidahavaldar/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25 === Android SDK Manager === Version: 16.10.0.13 === Android Device Manager === Version: 16.10.0.15 === Build Information === Release ID: 810100008 === Operating System === Mac OS X 10.16.0 |
Description
With the following code I'd expect to display a
MediaElement
above aButton
:What I get is this:
MediaElement
that fills the screen. No sign of theButton
.Button
and no sign of theMediaElement
.See screenshots below.
On iOS, if you put the
Button
followed by theMediaElement
it behaves as expected. But on Android you still don't get theMediaElement
.Steps to Reproduce
Expected Behavior
MediaElement
with aButton
underneath it.Actual Behavior
On iOS, a
MediaElement
that fills the screen. No sign of theButton
. On Android, aButton
and no sign of theMediaElement
.Basic Information
Screenshots
iOS:
Android:
Reproduction Link
WorkingWithMediaElement.zip
The text was updated successfully, but these errors were encountered: