fix issue with drawBackground. If there are more than 146 values, background it not filled.
Reason: numSpaces is always 1 --> spaceX and startX become NaN
Merge pull request #48 from mrcmd/master

Fix drawBackground for more than 150 values
add support for use in xml layouts.
Merge pull request #49 from junk2005x/master

add support for use in xml layouts.
Merge remote-tracking branch 'upstream/master'