vector - Android - VectorXML notification icon color, SAMSUNG bug? -
i try use new vectorxml small icon notificationcompat.builder. on nexus devices works fine , android automatically tint icon required color, white. on samsung (s5 android 6.0.1) icon never tinted. see screenshots:
any idea why? samsung's implementation bug?
for all,
the solution make base color white, "auto" tint works fine on samsung devices! ;)
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="101dp" android:height="101dp" android:viewportwidth="101dp" android:viewportheight="101dp" <path android:fillcolor="#fff" android:pathdata="@string/round"/> </vector>
Comments
Post a Comment