Menu

Camera preview fill the screen without black stripes on the sides

Anonymous
2015-06-17
2020-03-28
  • Anonymous

    Anonymous - 2015-06-17

    Hi,

    Is there any way of showing the camera preview, but without the black stripes on the sides. In my case i have toolbar and bottom navigation stripe, so i am showing the FrameLayout between these two elements. The Camera preview is showing in center but with black stripes on the sides. Is there any way of scaling the SurfaceView to fill this space, without losing the aspect ratio, in order to get the Camera Preview in full screen (fill screen)?

    Thank you in advance,
    Nikola

     
  • Biyoalp

    Biyoalp - 2015-06-19

    I do not think it is possible or I do not find a way. But you can install xhalofloatingwindow app in xposed. If you find any way please write here.

     
  • Anonymous

    Anonymous - 2015-09-11

    doesn't changing the resolution help? In my phone I go down one level from the highest resolution possible., It surely helps., (because the actual phone camera aspect ratio is different from the one of the screen)., and if you're talking about the buttons on one side of the camera preview, try the immersive modes in settings> more camera controls.

     
  • Anonymous

    Anonymous - 2020-03-28

    Got the same concern but found the solution from the settings. Set the camera preview as 'Maximum Preview" size and it will fill the entire screen ( atleast about 95%) of your phone screen. By default it si set to "match the photo size". In addittion if you wanted to use your phone as a second cam for live video recording, you may hide all the option in "on Screen GUI"> Immersive mode>Hide everything.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.