我的设备没有设置自定义字体,所以应用程序的字体应该遵循设备设置字体。
在应用自定义字体的时候,发现textview的宽度被剪掉了,所以我把它留为wrap_content,但是并不能正常工作。(默认字体设置 wrap_contetnt 效果很好)
代码如下,号码是这样剪的。帮助任何人!帮我!
<TextView
android:id="@+id/textViewId"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:ignore="SpUsage" />[enter image description here][1]