ticker
ticker copied to clipboard
Squares appear randomly with a custom font on Samsung devices.
Attached is a problematic screen with random squares on Samsung Galaxy S9. This problem only happens on Samsung devices.
Did it reproduce on an emulator? This will be a fun one :)
I wonder if there's reports of this in Robinhood.
No it didn't happen on an emulator. I also tested on my Nexus 5X and a custom typeface was applied correctly. I think Samsung must have changed the way to display TextView.
public void setTypeface(Typeface typeface) {
if(android.os.Build.MANUFACTURER.equals("samsung")){
return;
}
...
Above is a temporary fix for now to avoid this issue.
🤦♂️