Android Question Portrait mode problem

domz

Member
I'm a beginner , I just want a help on how to change it into portrait?

I just downloaded this code in this site "barcode live vew scanner" . So I decided to try
I change some codes of Addview but still the orientation is in landscape

pls help me how to change it in portrait?
 

Attachments

  • Capture.PNG
    Capture.PNG
    36.8 KB · Views: 261

Sagenut

Expert
Licensed User
Longtime User
I can't find the code example that you are using.
For the orientation look in the upper part of the code window for Region Project Attributes and check if
#SupportedOrientations: Landscape
In that case change it to
#SupportedOrientations: portrait
But then probably you will need to adapt all the layout again.
 
Upvote 0
Top