This question shows how to change the screen orientation to portrait with screenOrientation="portrait" in the manifest. As the drawn image stays landscape you need a workaround to rotate the image canvas as I described in the answer referencing Lu Yu's work.