Add API to set the views in an array to a size