Call the correct parent constructor

The parent View class was not initialized correctly and I was not able to find the GraphView using findViewById. Commit 27a967c fixes that. While I was on it I also fixed some warnings (f037b37).