在Android中使用默认字体样式

hpi*_*que 7 android text coding-style android-layout

你如何在xml中使用Android默认字体大小?

我试过了:

android:textAppearance="@android:style/TextAppearance_Large"
Run Code Online (Sandbox Code Playgroud)

但我得到:

错误:错误:没有资源发现在给定的名字相匹配(在"textAppearance",值为"@android:风格/ TextAppearance_Large").

Ben*_*erg 5

不是吗

android:textAppearance="?android:attr/textAppearanceLarge"
Run Code Online (Sandbox Code Playgroud)

对于TextView?