Android Question B4A Orientation Issue

Nitin Joshi

Active Member
Licensed User
I have referred some old thread to support orientation while using B4XPages for Android APP. Accordingly, i have added below line in Manifest Editor.

SetActivityAttribute(Main, "android:configChanges", "orientation|screenSize")

When i changed the orientation, APP does not stop however placement of control not appropriate and screen size is half. Please refer attached screenshots of landscape and portrait orientation.

What is the reason why landscape orientation is not appropriate (vise versa same observation)?
 

Attachments

  • Landscape Orientation.jpeg
    Landscape Orientation.jpeg
    30.4 KB · Views: 43
  • Portrait Orientation.jpeg
    Portrait Orientation.jpeg
    37.5 KB · Views: 42
Top