Android 使用 RemoteViews 发送自定义通知 ,遇到 Couldn't expand RemoteViews问题总结

时间:2014-08-18 15:52:32   收藏:0   阅读:1637

在RemoteViews这种调用方式中,你只能使用以下几种界面组件:
Layout:
    FrameLayout, LinearLayout, RelativeLayout

Component:
  AnalogClock, Button, Chronometer, ImageButton, ImageView, ProgressBar, TextView, ViewFlipper, ListView, GridView, StackView, AdapterViewFlipper

SO,当你使用了不是上面的组件的时候,可能会遇到这个问题,导致发送通知的时候程序报错。

Android 使用 RemoteViews 发送自定义通知 ,遇到 Couldn't expand RemoteViews问题总结,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!