Open smelfungus opened 3 years ago
Are they correctly rendered if using as IconicsDrawable
?
@mikepenz I just checked this, yes:
Could it be that the font was not initialised, or maybe android API level related?
@mikepenz, let me create a reproducible sample and share it asap.
@mikepenz It seems like the appcompat
dependency is causing this issue, it is working with:
androidx.appcompat:appcompat:1.3.1
But starts breaking with:
androidx.appcompat:appcompat:1.4.0-alpha01
+
Sample:
https://github.com/dummyco/android-iconics-gh-592
That's super interesting :/ will have to take a closer look, not sure why that would be.
Maybe it's time to deprecate all text based forms, and only retain the IconicsDrawable
I have the feeling something in here overwrites our spannable
You will have to add app:emojiCompatEnabled="false"
to the xml (using their setter to disable it programmatically from the view seems to not work.
Tried to find a way around, but have not found any solution beside disabling support for it via xml
That's wonderful! Thank you for taking a look 👍🏻
Just to note this also occurs on compose previews
Are they correctly rendered if using as
IconicsDrawable
?
About this issue
Some icons are incorrectly rendered with
IconicsTextView
+ XML.Pixel C emulator:![image](https://user-images.githubusercontent.com/3989453/126042404-be0974d6-1ffd-4e4b-82e7-55b310d2d327.png)
Samsung Galaxy S20 Ultra:![image](https://user-images.githubusercontent.com/3989453/126042432-cd0d4e3a-a5a6-4c62-ab40-c7c02699f70b.png)
Sample code:
Details
androidx.appcompat:appcompat:1.4.0-alpha03
Fonts:
com.mikepenz:google-material-typeface:4.0.0.1-kotlin@aar
com.mikepenz:community-material-typeface:5.8.55.0-kotlin@aar