I would like to enable the user to change font in y app.
I searched the forum to find a way to change font dynamically in an EditText, as opposed to within the Designer, but all I found was an old post of mine dating from 2016, which never receive any reply:
https://www.b4x.com/android/forum/t...yles-for-the-standard-font.72699/#post-462415
The best I could find is below, but it is valid only for a string. And it is not quite clear about Bold and Italic. Although there is an example for Underline, so I will try to experiment.
https://www.b4x.com/android/forum/threads/charsequence-csbuilder-tutorial.76226/#content
But what I would really like to do is to change the typeface for anything that will be typed, just like I would do in the Designer.
Any help will be greatly appreciated
I searched the forum to find a way to change font dynamically in an EditText, as opposed to within the Designer, but all I found was an old post of mine dating from 2016, which never receive any reply:
https://www.b4x.com/android/forum/t...yles-for-the-standard-font.72699/#post-462415
The best I could find is below, but it is valid only for a string. And it is not quite clear about Bold and Italic. Although there is an example for Underline, so I will try to experiment.
https://www.b4x.com/android/forum/threads/charsequence-csbuilder-tutorial.76226/#content
But what I would really like to do is to change the typeface for anything that will be typed, just like I would do in the Designer.
Any help will be greatly appreciated