Adds onColorChangedListener and OnMeasure wrap_content

adds a onColorChangedListener and adds support to the OnMeasure for
wrap_content which is coded by venator85