Calling setToDefaults() on the real Configuration, from the shadow, to get sp dimensions to work
Verifying that setTextSize and getTextSize works with sp in TextView
Merge pull request #1032 from blurpy/sp-dimension

Adding support for scale-independent pixels in Resources.getDimension()