Come si fa a cambiare il font di una label e il colore di sfondo di una EditText? Grazie in anticipo
ken87 Active Member Licensed User Longtime User Oct 30, 2017 #1 Come si fa a cambiare il font di una label e il colore di sfondo di una EditText? Grazie in anticipo
Star-Dust Expert Licensed User Longtime User Oct 30, 2017 #2 B4X: EditText1.Color=Colors.Green Font: https://www.b4x.com/android/help/constants.html#typeface B4X: Label1.TypeFace=Typeface.Default_Bold
B4X: EditText1.Color=Colors.Green Font: https://www.b4x.com/android/help/constants.html#typeface B4X: Label1.TypeFace=Typeface.Default_Bold
Star-Dust Expert Licensed User Longtime User Oct 30, 2017 #3 Altro modo B4X: Dim MyFont As Typeface MyFont = Typeface.LoadFromAssets("MyFont.ttf") EditText1.Typeface = MyFont
Altro modo B4X: Dim MyFont As Typeface MyFont = Typeface.LoadFromAssets("MyFont.ttf") EditText1.Typeface = MyFont
Star-Dust Expert Licensed User Longtime User Oct 30, 2017 #4 Terzo: usando CharSequence/CSBuilder vedi: https://www.b4x.com/android/forum/threads/charsequence-csbuilder-tutorial.76226/#content
Terzo: usando CharSequence/CSBuilder vedi: https://www.b4x.com/android/forum/threads/charsequence-csbuilder-tutorial.76226/#content
udg Expert Licensed User Longtime User Oct 31, 2017 #5 @Star-Dust : tre suggerimenti per una sola domanda.. che esagerazione! eheh