Android 4.1 changed standard behavior for setTextSize.
It used to be that you could use setTextSize(0) and the size would default to whatever was appropriate for the device. Very handy! Unfortunately, it now literally sets the font size to 0. Effectively rendering your TextView invisible. Bad Google! Changes like this make it harder and harder to write code that works on the majority of devices.
I guess that’s why we make the “big bucks”, right? /sarcasm 😉
What was your solution for setting this easily? Or is that one of your trade secrets? 😉
I found no solution. I now check to see if I am setting 0 and skip calling the set method. It was a PITA to change all my code, too.