您的位置:首页 > 移动开发 > Android开发

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

2014-08-18 14:37 495 查看
在RemoteViews这种调用方式中,你只能使用以下几种界面组件:

Layout:

FrameLayout, LinearLayout, RelativeLayout

Component:

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

SO,当你使用了不是上面的组件的时候,可能会遇到这个问题,导致发送通知的时候程序报错。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: