ticker icon indicating copy to clipboard operation
ticker copied to clipboard

Squares appear randomly with a custom font on Samsung devices.

Open njovy opened this issue 6 years ago • 3 comments

screenshot_20180314-033158_ticker example

Attached is a problematic screen with random squares on Samsung Galaxy S9. This problem only happens on Samsung devices.

njovy avatar Mar 13 '18 18:03 njovy

Did it reproduce on an emulator? This will be a fun one :)

I wonder if there's reports of this in Robinhood.

naturalwarren avatar Mar 13 '18 19:03 naturalwarren

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.

njovy avatar Mar 14 '18 14:03 njovy

🤦‍♂️

jinatonic avatar Mar 14 '18 21:03 jinatonic