I successfully modify big picture notification using such code
static class MyMultiLineBigPictureStyle extends Notification.BigPictureStyle{
@NonNull
@Override
protected RemoteViews getStandardView(int layoutId) {
RemoteViews ret = super.getStandardView(layoutId);
int id = Resources.getSystem().getIdentifier("text", "id", "android");
ret.setBoolean(id, "setSingleLine", false);
ret.setInt(id, "setLines", 4);
return ret;
}
}
This works well on API < 24. On API 24,25 and 26 this method isn't even called. Can't see explanation for it