views:

127

answers:

1

How do you use the Android default font sizes in xml?

I tried:

android:textAppearance="@android:style/TextAppearance_Large"

But I get:

error: Error: No resource found that matches the given name (at 'textAppearance' with value '@android:style/TextAppearance_Large').

+1  A: 

Isn't it

android:textAppearance="?android:attr/textAppearanceLarge"

for a TextView?

BennySkogberg
It sure is. Thanks.
hgpc
Your most welcome :)
BennySkogberg