开发者

Android custom camera view larger than screen

I am trying to build a custom camera view which fills the whole screen by stretching the preview while maintaining the aspect ratio and having the parts outside the screen cropped. I have been unable to get th开发者_JAVA百科e surface view which the camera uses to stretch larger than the screen size. I can get it to be smaller than the screen, or have it stretched to match the screen exactly which ruins the aspect ratio. How do I go about getting the camera to fill the screen without losing the aspect ratio?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜