Fixing bug where the barWeight would be drawn at double the specified size.
The value was converted from dp to px; and then the px value treated as a dp
value and converted to px again.
Fixing view sizing bugs.
The height and width of the RangeBar were not calculated correctly.
Also found some bugs were px and dp were confused for each other resulting in bad sizing.