在android中,我按照下面的方法指定文本外观:
<TextView
android:id="@+id/text"
android:textAppearance="?android:attr/textAppearanceSmall"/>
请问我如何指定一个比 textAppearanceSmall 更小的字体?
在android中,我按照下面的方法指定文本外观:
<TextView
android:id="@+id/text"
android:textAppearance="?android:attr/textAppearanceSmall"/>
请问我如何指定一个比 textAppearanceSmall 更小的字体?
你也可以用dp
和dp
单元设置文本的大小。
android:textSize="10sp"