如何设置通知的此文本行。我模拟图像中的内容的代码是
Notification notification = new NotificationCompat.Builder(context)
.setSmallIcon(R.drawable.ic_launcher)
.setContentTitle("Michael")
.setContentText("Dinner tonight?")
.setSubText("let's grab some dinner.Are you free?")
.setLargeIcon(myBitMap)
.addAction(R.drawable.ic_archive, "ARCHIVE", null)
.addAction(R.drawable.ic_reply, "REPLY", null)
.build()
编辑
或者没办法,我使用自定义视图?
答案 0 :(得分:0)