This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] [MediaElement] [Android] Android TV on Portrait mode not rotating content correctly #1964
Labels
bug
Something isn't working. Breaky break.
Description
I´m bluiding an app for an Android TV Device, that needs to reproduce video in Portrait mode. However the content is not showing propperly as it does when in Landscape. It seems that the video is not rotating according to the screen orientation defined in the MainActivity class (ScreenOrientation.Landscape), and it keeps thinking the device is always in default mode (Landscape) despite the configuration.
The issue appears to be exclusive to Android TV devices (tested in Xiaomi MiBox S), as it works as expected in cellphone Xiaomi Mi 9 SE. To clarify, Screen Orientation is fixed so there´s no device rotation involved in this issue.
Stack Trace
Link to Reproduction Sample
Steps to Reproduce
Expected Behavior
MediaElement displays videos propperly in vertical mode (Xiaomi Mi 9 SE).
Actual Behavior
MediaElement does not rotate videos propperly when in Portrait Screen Orientation mode. Also there seems to be an stretching issue. This in an Android TV Device (Xiaomi Mi Box S)
Basic Information
Workaround
Reproduction imagery
The text was updated successfully, but these errors were encountered: