关于RemoteViews 翻译,
Class OverviewA class that describes a view hierarchy that can be displayed in another process. The hierarchy is inflated from a layout resource file, and this class provides some basic operations for modifying the content of the inflated hierarchy.
这个类介绍,如何翻译,请高手帮忙,谢谢!
Class OverviewA class that describes a view hierarchy that can be displayed in another process. The hierarchy is inflated from a layout resource file, and this class provides some basic operations for modifying the content of the inflated hierarchy.
这个类介绍,如何翻译,请高手帮忙,谢谢!
解决方案 »
- 请问下,这种控件比较专业的叫法是什么,Android中如何实现
- 看一下这段代码,我想用拖动这个圆,可以移动的位置一直不对,求解
- android2.3.4横屏转竖屏的问题
- android 关于用感应技术实现一个帧动画效果,请高手们指点指点
- 求推荐好用的串口调试助手
- 用imageview显示图片,手机一片黑的啊,根本没图片
- 求教MonoForAndroid的基础问题!
- 执行程序报错:can't execute: Permission denied
- listview中的按钮响应时如何获取holder中某一组件的引用或是itemid
- Android debug调试
- Android能开发Google Earth应用么?
- 新手,AVD窗口无法关闭,不知怎么办
1,AppWidget---RemoteView
我们都知道AppWidgetProvider是一个BrocaseReceiver,只是接受到Enable, Update,disale,delete这些message,而真正显示界面的是AppWidgetHostView(这是在Launcher里面实现的)这中间就是通过RemoteView来沟通。通过RemoteView告诉Launcher你想要的AppWidget是长什么样。 2,Notification--RemoteView
若你想自定义你的Notification也必须通过RemoteView.因为你定义的Nofication和显示Notification也是两个不同的进程。 在android 2.2之前,RemoteView只支持一些简单的view:TextView, Framelaout..不支持ListView和GridView等复杂的view,它的操作也是简单的click。在网上有人说是通过@RemoteView这个标签确定RemoteView是否支持view.在view的源文件加上@RemoteView这个标签就可以支持了。这个我还没有去试试过。 (在htc sence ui 中我们可以看到有用到listview,gridview,这是怎么做到的呢,看下面说明)