Fix faulty setup of views in IconGenerator

Fixes googlemaps/android-maps-utils#126. Not tested yet.