How can I change icon for send button on direct reply Android

293 views Asked by At

I have created a notification, with an action with RemoteInput to add a note into the specific entry of my app like this:

        RemoteInput remoteInput = new RemoteInput.Builder("key_add_note")
                .setLabel("add note")
                .build();

        NotificationCompat.Action action =
                new NotificationCompat.Action.Builder(R.drawable.ic_action_edit,
                        "add-note", replyPendingIntent)
                        .addRemoteInput(remoteInput)
                        .build();

        notification.addAction(action);

enter image description here

and this shows me an input field on performing ADD-NOTE action like this:

enter image description here

here I don't want to use the default send icon and want to change it so it suits my action.

so far I didn't come across anything to achieve this, let me know if its possible? and how to do it.

0

There are 0 answers