Changing EditText's text size from pixel to scaled pixels
===

I'm providing an option for text sizes and one of them is for the `EditText` boxes. I've determined the original text size using `EditText#getTextSize()`. The result is given in pixels. Once the user selects the text size, I use `edittext.setTextSize(TypedValue.COMPLEX_UNIT_SP, chosen)` to apply the text size.

Problem is different screen sizes give me wildly different text sizes, e.g. on an ICS phone, `EditText.getTextSize()` returns 36, which is absolutely massive and definitely not the default text size used throughout the system.

What am I doing wrong?