Added support for API 8

- Fixes the problems found in View.getX() and View.getY() [Reported by Diogo Bilkes]