Android Question Spinner and Material Icons & FontAwesome

Robert Valentino

Well-Known Member
Licensed User
Longtime User
I am trying to use Material Icons when adding Spinner lines

B4X:
         Dim ColSpinner as Spinner
         Dim cs As CSBuilder

...  code that setups spinner

                   
 ColSpinner.Add(cs.Initialize.Typeface(Typeface.MATERIALICONS).Append(Chr(0xE835)).Typeface(Typeface.DEFAULT).Append("  " &Text.Get(i)).PopAll)

The text shows but the Material Icon doesn't. Found this to be same for FontAwesome

BobVal
 

Robert Valentino

Well-Known Member
Licensed User
Longtime User
OK, finally got back from a month long tour of the Canyons (Grand Canyon, Bryce Canyon, Snow Canyon, etc) Boy was it great.


Tried your suggestion.


When I try the AddAll my app crashes.

If I don't do AddAll instead try to do an Add I get an Object to String probably programming error message
 
Upvote 0
Top