Mira Kamali
Mira Kamali

Reputation: 70

How to add codes and changes in zxing classes?

I already uploaded Zxing library into android studio. I want to change the camera orientation to portrait mode and I found a solution where I have to add codes and make changes into CaptureActivity and other classes...but they are not letting me to write anything on this compiled files. Can you please help me how i can access them. thank you

Upvotes: 0

Views: 50

Answers (1)

Harish Vats
Harish Vats

Reputation: 662

Try changing the screenOrientation to "portrait" in the Manifest file of Zxing library project.

I think you have opened CaptureActivity in Android Dependencies which is a class file. Instead make changes in the library project which you have imported.

Upvotes: 1

Related Questions