Skip to content

Commit 2be9700

Browse files
authored
Merge pull request #594 from mikepenz/fix/592
Highlight appcompat:1.4.x emoji support incompatiblity
2 parents fb206ca + 22335b6 commit 2be9700

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,19 @@ Image(
220220

221221
Licenses for all included fonts are linked inside the class or can be found on the coresponding repositories.
222222

223+
# Compatibility Note
224+
225+
### appcompat:1.4.x
226+
227+
Appcompat v1.4.x introduces default enabled emoji support into all `AppCompat*` views, which prevents the `IconicsView*` views (iconics-views module) from properly applying the spannable style.
228+
To fix this problem, emoji support has to be disabled by doing:
229+
230+
```xml
231+
app:emojiCompatEnabled="false"
232+
```
233+
234+
More information on the appcompat emoji support: https://developer.android.com/jetpack/androidx/releases/appcompat#1.4.0-alpha01
235+
223236
# Advanced Usage
224237

225238
### Register fonts
@@ -284,7 +297,7 @@ For generating string field for each of icons of your font, you can use this sim
284297
A awesome gradle plugin which can automatically fetch a font from Fontastic, and generate the Android Module for your project.
285298
[Iconics-Font-Generator](https://github.com/ligol/IconicsFontGenerator)
286299

287-
# ProGuard
300+
# ProGuard / R8
288301

289302
ProGuard / R8 rules are bundled internally with each font.
290303

0 commit comments

Comments
 (0)