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

GridLayout height issues on Android 8.0.0 SM-G935F #274

Open
shiyao821 opened this issue Apr 18, 2019 · 0 comments
Open

GridLayout height issues on Android 8.0.0 SM-G935F #274

shiyao821 opened this issue Apr 18, 2019 · 0 comments

Comments

@shiyao821
Copy link

The recommended code:
<GridLayout columns="2*,*" rows="*" width="100%" height="25%">
doesn't look as it should on my android.
First of all, the TextField and Button looked really thick. It actually did have almost 25% height of the entire screen.
Next, whenever the TextField is tapped, the keyboard is brought up and the height of the TextField and the button is halved.
A fix that worked for me was giving the height an absolute pixel value. eg.
<GridLayout columns="2*,*" rows="*" width="100%" height="400px">

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

No branches or pull requests

1 participant