Use getHeight on API 10
Merge pull request #129 from daydreaming-experiment/feature/issue-104

Fix issue #104