我正在尝试在Android手机上将相机放置在一个surfaceView中,并使其保持纵向方向。我使用了http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/CameraPreview.html来将相机放入surfaceView中。但是,相机旋转了90度,因此我尝试使用setDisplayOrientation(90)进行修复,但这会压缩图像(它可能没有正确地调整surfaceView的大小?),怎样才能让相机不被压缩呢?