Android Question [ SOLVED ] Rotate screen to the right

Discussion in 'Android Questions' started by Sasuke Sama, May 21, 2019.

  1. Sasuke Sama

    Sasuke Sama Active Member Licensed User

    Hi
    We can rotate the screen using the phone lib but it lockes the screen to the left
    I have a video player app so i need to make the screen to rotate to both the left and right like youtube or mx player or many more android apps ( probably every app can do that as far as i see )
    Thanx
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. Sasuke Sama

    Sasuke Sama Active Member Licensed User

    The player has both portrait and landscape support and theres a button that switch between theme
    I use the phone lib to rotate it to whatever the video is ( landscape or portrait ) and as far as i can see the code in the link will lock it in landscape only so its not good for my use
     
  4. Erel

    Erel Administrator Staff Member Licensed User

  5. Sasuke Sama

    Sasuke Sama Active Member Licensed User

    Workes perfect thanx
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice