I want to use a numeric keyboard in android notification's direct reply and also want to set the input filter for it.
RemoteInput remoteInput =
new RemoteInput.Builder("log").setLabel(defaultUnitBG == 1 ? "mg/dL" : "mmol").build();
NotificationCompat.Action replyAction = null;
NotificationCompat.Action.Builder actionBuilder =
new NotificationCompat.Action.Builder(R.drawable.white_circle, replyLabel,
getLogPendingIntent(context, notificationScheduleObject, iUniqueId, notificationId));
actionBuilder.setAllowGeneratedReplies(true);