嗨!如何设置我的通知的内容视图以查看我放入的所有文本?我有这段代码:
RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.proba);
contentView.setImageViewResource(R.id.image, R.drawable.icon);
contentView.setTextViewText(R.id.notif1,"Today,you must go for shopping for your list '" + list + "'. "+ "Don't forget!!!"+"\n"+"You must buy "+s);
notification.contentView = contentView;
其中s是StringBuilder
,我只看到文本的一部分。我该怎么办?请帮忙