为什么 Android Image Asset Studio 生成的通知图标的颜色是全白色的?

Tom*_*ous 2 android android-notifications kotlin

当我右键单击我的drawable文件夹并执行New-> Image Asset->时Notification Icons,我的图标颜色变为白色。我上传的图片背景是透明的,但是为什么图标变成了白色?我该如何解决?我想保留原来的颜色。我的最低 API 级别设置为 21。

ian*_*ake 5

根据指南,通知图标是单色的,并通过setColorAPI着色,因此预计它们是纯白色。