Hi there, we have an Apalis imx8 board connected via hdmi to Iiyama display => ProLite TF1634MC-B6X and currently develop a kiosk app using android studio. We face an issue when setting the screen orientation. In the attached pic the issue is demonstrated. The touch input area of the buttons (in red) remains in landscape mode, although we set the app into portrait mode using requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT (Kotlin).
The question is: is this a hardware driver problem related to the screen? And if yes, does this require to modify the source code of the android kernel via new driver interfaces? Or is this simply something we have overlooked from the app settings. We are aware of the manifest options called
<activity
android:screenOrientation=“portrait”
and we are also aware that we can set the orientation via porgram code like this in kotlin:
requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT
Any hints or guidelines much appreciated, especially if this would require to modify android kernels, or perhaps even building our own board support package.
Kind regards
Norman