Force portrait mode in camera

前端 未结 5 736
眼角桃花
眼角桃花 2020-12-19 09:00

I am invoking a camera using an intent and clicking a picture. Presently I am on emulator and would like to force camera to click the pictures in portrait mode(need to captu

5条回答
  •  半阙折子戏
    2020-12-19 09:56

    You only need to set Id for each of your views. You don't need to force portrait mode in camera. Doing this, prevent the activity to recreate views and losing data

提交回复
热议问题