Android Question Portrait & Landscape same app, but...

LucaMs

Expert
Licensed User
Longtime User
Since you have not yet banned me and I get bored (I would have 234,290,871 things to do), I make a couple of questions.

A famous app which I do not write the name, Ruzzle:D, seems to work simultaneously in portrait and landscape mode but, while playing, the portrait is fixed.

How? (This is just curiosity)


I'm sorry for you, but you'll have to wait for the other question ... at this moment I do not remember it
 

DonManfred

Expert
Licensed User
Longtime User
You can set a special orientation for each activity in manifest
SetActivityAttribute(main,android:screenOrientation, "sensorLandscape")
replace main with the activityname
 
Upvote 0
Top