material-about-library
material-about-library copied to clipboard
Icons show up as black boxes in 3.1.2 but not 2.4.2 MaterialAboutActionItem Builder
When using .pngs as icons for the MaterialAboutActionItem Builder, they show as black boxes in version 3.1.2
cardBuilder.addItem(MaterialAboutActionItem.Builder()
.text("Test")
.icon(R.drawable.test)
.build())
Although this works perfectly in 2.4.2 with the same code, the icons are rendered properly.
The style is a child of "Theme.MaterialComponents.Light.DarkActionBar".
Thanks for this great library, just a little confusing why the newest version doesn't show .png, which is the preferred Android format for drawables. https://developer.android.com/guide/topics/graphics/drawables
Hi! Thanks for the issue, unfortunately I'm not able to reproduce the issue you're facing myself. Are you able to provide some sample code?
Cheers