The solution to this problem is not to use the android:button attribute of the CheckBox widget. Instead, set it to null as well as the android:background attribute and use android:drawableLeft to assign your custom CheckBox drawable.

Here is the complete sample XML code:

The attribute android:drawablePadding is used to place a gap between the image and the text so this is fairly optional.

Okay, so there may be times wherein you do not want to pass an Intent to redirect users to an app whenever the user may tap on the notification. The quickest thing that I thought might work was to pass a null Intent to the Notification object.

However, this is wrong as it can lead to problems. The correct way is to do it like this

Try it. This should do the trick.

Related Posts Plugin for WordPress, Blogger...