This repository was archived by the owner on Apr 2, 2018. It is now read-only.
Commit 00e2fd1
twilly86
android keyboard height bug fix, density incorrect
In testing with galaxy s2, the keyboard height was not being calculated correctly. I found out the density was being set to an int.
From here..
http://stackoverflow.com/questions/3166501/getting-the-screen-density-programmatically-in-android
Density can be .75, 1, 1.5, 2, ect. thus it was being rounded to the nearest integer and causing the incorrect keyboard height.
I switched it to be a float1 parent b1436e3 commit 00e2fd1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments