Jim McDougal Member Licensed User Mar 3, 2024 #1 How do I set the font size when constructing a TextView in B4i?
William Lancee Well-Known Member Licensed User Longtime User Mar 3, 2024 #2 There are csbuilder tutorials for: Android: https://www.b4x.com/android/forum/threads/charsequence-csbuilder-tutorial.76226/ B4i: https://www.b4x.com/android/forum/threads/csbuilder-attributedstrings-builder.79153/ The .Size(30) tag works in Android. But I don't know about B4i. The above tutorial uses this to change font size. B4X: Font(Font.CreateNew(30)) Upvote 1
There are csbuilder tutorials for: Android: https://www.b4x.com/android/forum/threads/charsequence-csbuilder-tutorial.76226/ B4i: https://www.b4x.com/android/forum/threads/csbuilder-attributedstrings-builder.79153/ The .Size(30) tag works in Android. But I don't know about B4i. The above tutorial uses this to change font size. B4X: Font(Font.CreateNew(30))