Android Question LANDSCAPE MODE BUT UPSIDE DOWN

Gianni Sassanelli

Active Member
Licensed User
Longtime User
Hi I have a little problem in my app with some devices
My app is designed for landscape mode and work fine with a lot of device but with some devices the landscape mode is reversed and i have Upside DOWN

the only setting is in above code
B4X:
#Region  Project Attributes
    #ApplicationLabel: TS TrendAgenti
    #VersionCode: 1
    #VersionName: 2017.1.107
    #SupportedOrientations: landscape
    #CanInstallToExternalStorage: True
    #FullScreen: True
    #IncludeTitle: True
#End Region


If i add the following line the app start in reverse landscape mode then rotate to 180 degrees and displays well

how can i solve this problem?

thanks
 

Gianni Sassanelli

Active Member
Licensed User
Longtime User
Upvote 0

Gianni Sassanelli

Active Member
Licensed User
Longtime User
Hi Erel
I don't understand !!!

if i ADD This lines in manifest
B4X:
SetApplicationAttribute(android:screenOrientation,     "landscape")


'' or

SetApplicationAttribute(android:screenOrientation,     "sensorLandscape")

'' are ignored

the image of my problem is attached.

Can you help me Please?
 

Attachments

  • Img_problem.jpg
    Img_problem.jpg
    252 KB · Views: 327
Upvote 0

ilan

Expert
Licensed User
Longtime User
Upvote 0
Top