I try to create a custom notification but getting the following exception:
FATAL EXCEPTION: main android.app.RemoteServiceException: Bad notification posted from
I've found that using android:background="?attr/colorPrimaryDark" also causes a crash. When changed to android:background="@color/colorPrimaryDark" it stopped crashing.