Screen Orientation Name Format

Hello friends,
I want to change my screen’s orientation, so, I used this block :point_down::point_down::point_down:


It’s not working, showing the name format is incorrect…

Which is the correct format of sensor portrait and sensor landscape ?

@Mohamed_Tamer
Please, can you solve it :pray::relaxed:

1 Like

But, I want the list of the name formats

https://developer.android.com/reference/android/content/pm/ActivityInfo#SCREEN_ORIENTATION_PORTRAIT

Very Thanks @Chocoduba_BR :relaxed::star_struck:

1 Like

I changed the solution to the question…
use one of the values listed in the documentation as @Chocoduba_BR mentioned here

Commonly used values are landscape, portrait, sensor, user and unspecified.

Taifun

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.