Custom Fonts not working in lollipop?

前端 未结 3 1116
旧巷少年郎
旧巷少年郎 2020-12-03 05:48

I have developed a handwriting app .And one of the main feature of this is that we can change the fonts from default font to 4 other custom fonts ie, to

Vicm         


        
3条回答
  •  我在风中等你
    2020-12-03 06:41

    I did it in following way:

    I have updated TextView with androidx.appcompat.widget.AppCompatTextViewand it works for each device.

    Example

    From

     

    To

     

    Hope it helps you.

提交回复
热议问题