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
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.