Pass parent to createView()