I read on SDk says that View represents the basic building block for user interface components. I'm wondering is dialog or preference can also be regarded as View object? Can I get all the widget on current activity by Robotium's getCurrentViews() method?
我在SDK上看到,View表示用户界面组件的基本构建块。我想知道是对话框还是首选项也可以视为View对象?我可以通过Robotium的getCurrentViews()方法获取当前活动的所有小部件吗?
Thanks!
1 个解决方案
#1
0
each direct and indirect subclasses are listed here (sections "Known Direct Subclasses" and "Known Indirect Subclasses"
此处列出了每个直接和间接子类(“已知直接子类”和“已知间接子类”部分)
According to this you will get list of all Views such as Buttons, ImageViews, ImageButtons etc
根据这个,您将获得所有视图的列表,如按钮,ImageViews,ImageButtons等
#1
0
each direct and indirect subclasses are listed here (sections "Known Direct Subclasses" and "Known Indirect Subclasses"
此处列出了每个直接和间接子类(“已知直接子类”和“已知间接子类”部分)
According to this you will get list of all Views such as Buttons, ImageViews, ImageButtons etc
根据这个,您将获得所有视图的列表,如按钮,ImageViews,ImageButtons等