added mesureWidth and mesureHeight to views
new interfaces