Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First 2 Screens of App becomes non-functional in Landscape Mode #137

Open
1 task done
reallyinvincible opened this issue May 11, 2018 · 1 comment
Open
1 task done

Comments

@reallyinvincible
Copy link
Contributor

reallyinvincible commented May 11, 2018

Is it a? (pick one)

  • Bug

Bug Report

Environment

  • Android studio version : 3.1.1
  • Operating system : Windows 10
  • Tested on (emulator/device - details) :
  1. Lenovo K8 Note (Android 8.0. Oreo)
  2. Nexus 5X (API Level 26)

The Bug:

  • Description:
    The Sign In and User Detail screens become non-functional in Landscape Mode

  • When does this occur?:
    When the orientation of device changes to Landscape Mode

  • attach screenshot / stacktrace:

screenshot_20180511-125432
You can't scroll down to Sign In button and hence can't use the app

screenshot_20180511-125454
You can't enter the details since the detail text field is off the screen, and the screen cannot be scrolled down

As per your understanding what is:

  • Expected behaviour: Since the Sign In and User Detail Screen of App is not designed to work in Landscape mode, it should be made such that it should not allow Android Framework to Change it's orientation to Landscape.
  • Actual Behaviour: The Android Framework is able to change the orientation of App into Landscape, which leaves the app completely useless.
    The User is unable to even scroll the screen to the Sign In button on first screen
    The User can't access the Details too, since it doesn't scroll down.

Steps to reproduce:

  1. Clear Cache and Data if already Signed In
  2. Change the orientation to Landscape
  3. Observe the Bug

Other Comments:

Taking Orientation Control from Android Framework and Setting it as Portrait will fix the issue
We need to add few lines of code to Activities in Android Manifest file to fix the issue
It will not Conflict with the Current Branch or development of the App.

-Sparsh Srivastava

@reallyinvincible
Copy link
Contributor Author

I would love to work on this issue.
I have already made the required fixes and am ready to submit my PR.
-Sparsh Srivastava

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant