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

Scrolling on Activities with Text Fields #226

Open
apoh3 opened this issue Mar 15, 2022 · 6 comments
Open

Scrolling on Activities with Text Fields #226

apoh3 opened this issue Mar 15, 2022 · 6 comments
Labels
android ext-tracker This item is being tracked in the external tracking spreadsheet game player Issues related to the player of the game

Comments

@apoh3
Copy link

apoh3 commented Mar 15, 2022

No description provided.

@apoh3 apoh3 added game player Issues related to the player of the game android ext-tracker This item is being tracked in the external tracking spreadsheet labels Mar 15, 2022
@apoh3
Copy link
Author

apoh3 commented Mar 22, 2022

Currently, when the player needs to input text such as there user name and password, the keyboard pops up covering the app. Rather, if the keyboard appears, the app should slide up so that all is still visible. Below is an example how this should look.

image

@apoh3
Copy link
Author

apoh3 commented Mar 29, 2022

MAIN ACTIVITY:

There is only one text field (game pin) and the keyboard never covers this.

LOGIN ACTIVITY:

Original:
image

Keyboard opened:
image

Original:
image

Keyboard opened:
image

Keyboard opened & error displayed:
image

@apoh3
Copy link
Author

apoh3 commented Mar 29, 2022

GAME ACTIVITY:

Example 1: state only includes text
Original:
image

Keyboard opened:
image

Example 2: state includes text and image
Original:
image

Keyboard opened:
image

Keyboard closed:
image

@apoh3
Copy link
Author

apoh3 commented Mar 29, 2022

Still working on the below:

Image state and text transition:
When no keyboard, Clear and Submit buttons should be at same location as the other transition fragments. When keyboard is visible, space under these buttons should shrink.

@apoh3
Copy link
Author

apoh3 commented Apr 19, 2022

No keyboard: clear and submit buttons are at same location as other fragments
image

Keyboard: padding under clear and submit buttons is decreased
image

@apoh3
Copy link
Author

apoh3 commented Jul 28, 2022

Testing Scenarios

The following scenarios should be tested and successfully pass for this issue to be marked complete and closed.

Scenario 1

This scenario tests screen scrolling and scrunching for the game pin activity text field.

Steps for testing

  1. Tap the game pin text entry field on the game pin activity. The keyboard should be visible. No content should be hidden by the keyboard or slide out of view.

Expected behavior
When the player focuses (i.e. taps) the game pin text entry field, a keyboard should appear below. No scrolling or scrunching should happen for this activity.

Screenshots
image


Scenario 2

This scenario tests screen scrolling and scrunching for login activity text fields.

Steps for testing (continuation of scenario 1)

  1. Enter Game Pin 11 and select Enter Game.
  2. Tap the name text entry field on name tab. The keyboard should be visible. The content of the activity should slide up to remain visible to the user (see screenshot 2).
  3. Close the keyboard. The content of the activity should slide back down (see screenshot 1).
  4. Select the account tab.
  5. Tap the username text entry field. The keyboard should be visible. The content of the activity should slide up to remain visible to the user.
  6. Tap the password text entry field. The keyboard should still be visible and the content of the activity still slid up.
  7. Close the keyboard. The content of the activity should slide back down.

Expected behavior
When the player focuses (i.e. taps) the text entry field, a keyboard should appear below. All elements of the UI should remain visible.

Screenshots
Before tapping/focusing:
image

After tapping/focusing:
image


Scenario 3

This scenario tests screen scrolling and scrunching for game activity text fields.

Steps for testing (continuation of scenario 2)

  1. Go back to the name tab and enter any name of your choosing. Select Join Game (and select Yes in confirmation dialog).
  2. Choose any Team and Player combo that you have not selected before under this game pin and name within the past 24 hours and select Join Team (and select Yes in confirmation dialog).
  3. Push any button other than blue.
  4. Push green.
  5. Push red.
  6. The state should read, "This is the final question. …" Tap the answer text entry field. The keyboard should be visible. The content of the activity should slide up to remain visible to the user (are clear and submit buttons are still visible?). See screenshots 1 and 2.
  7. Close the keyboard. The content of the activity should slide back down.

Expected behavior
When the player focuses (i.e. taps) the text entry field, a keyboard should appear below. All elements of the UI should remain visible.

Screenshots
Before tapping/focusing:
image

After tapping/focusing:
image


Additional context

n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android ext-tracker This item is being tracked in the external tracking spreadsheet game player Issues related to the player of the game
Projects
None yet
Development

No branches or pull requests

1 participant