Added UnitToPx for conversion between Android's Unit and actual pixels.