android edit text making the text larger

Edmund Rojas picture Edmund Rojas · Mar 15, 2012 · Viewed 14.7k times · Source

When a user types into my edittext the text is a bit small, Id like to make this larger maybe 20-25 sp what is the best way of doing this?

Answer

Sparky picture Sparky · Mar 15, 2012

I'm a big fan of starting out with system-defined values. You can always tweak things later.

 <TextView style="@android:style/TextAppearance.Large" ...

Probably better in the long run to define yourself a family of styles in res/values, rather than the one-shot that I'm showing here.