Я пытаюсь создать пользовательское текстовое представление, которое имеет шрифт, заданный из заданного пути. Пожалуйста, предоставьте мне какой-либо пример и как я могу сделать это с меньшим количеством кода:
<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" />