I am trying to load MaterialIcons typeface from an invisible label in a .bal file so I can dynamically load the Typeface using code. But for some reason the Button text and Label text that is using this typeface is being truncated when displayed in my test app and I can't figure out why.
If you tun my test app and check the Log you'll see the Label.Text and Button.Text are not truncated and is correctly stored in the views as "x Testing" but is being displayed in the Activity as "x T" (truncated). Changing the font size does not solve the problem.
The FontAwesome typeface displays just fine in the same Button and Label views. The problem is with MaterialIcons.
I have included a test app to see if someone can figure out what is going wrong. I have been scratching my head over this problem for a couple of hours and haven't figured it out yet. I'm hoping someone else has better luck.
TIA
If you tun my test app and check the Log you'll see the Label.Text and Button.Text are not truncated and is correctly stored in the views as "x Testing" but is being displayed in the Activity as "x T" (truncated). Changing the font size does not solve the problem.
The FontAwesome typeface displays just fine in the same Button and Label views. The problem is with MaterialIcons.
I have included a test app to see if someone can figure out what is going wrong. I have been scratching my head over this problem for a couple of hours and haven't figured it out yet. I'm hoping someone else has better luck.
TIA