如何制作自定义TextView?

我正在尝试制作具有从给定路径设置的字体的自定义文本视图。请提供任何示例,以及如何用更少的代码来实现:


<TextView

   android:id="@+id/textView2"

   android:layout_width="wrap_content"

   android:layout_height="wrap_content"

   android:text="@string/accountInfoText"

   android:textColor="#727272"

   android:textSize="18dp" />


aluckdog
浏览 338回答 2
2回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Android