有什么方法可以在 Android 中更改 EditText 的字体?我希望它与我为所有 textViews 设置的字体相匹配。
最佳答案
editText.setTypeface(Typeface.SERIF);
就像 TextView 一样。
<TextView
...
android:typeface="serif"
... />
编辑:上面是 XML
关于android - 在 Android 中更改 EditText 的字体?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10766943/