【问题标题】:How to add buttons inside android notifications如何在android通知中添加按钮
【发布时间】:2014-06-10 17:01:33
【问题描述】:

我已经设法创建了这种通知

按照本指南:http://developer.android.com/training/notify-user/expanded.html#big-view

但是我找不到任何关于如何实现这种风格的文档:

我该怎么做?

【问题讨论】:

    标签: android android-notifications


    【解决方案1】:

    Custom notification layouts中所述,您可以使用Notification.Builder.setContent(RemoteViews)设置自定义通知内容

    【讨论】:

      【解决方案2】:
      猜你喜欢
      • 2013-04-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-08-21
      • 1970-01-01
      • 2022-11-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多