Skip to content

Icons show up as black boxes in 3.1.2 but not 2.4.2 MaterialAboutActionItem Builder #107

@chaneylc

Description

@chaneylc

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions