如果我在屏幕上出现的任何地方,我如何以编程方式获取anyScreen的视图

时间:2015-02-13 11:37:57

标签: android android-layout android-intent android-activity android-fragments

**如何以编程方式从相应的屏幕获取视图**

How can i get the view of screen programatically wherever i am present at the screen. Is it possible,And if yes send me some notes.

提前致谢。

1 个答案:

答案 0 :(得分:0)

试试这个:

View newView = this.getView();

如果有帮助,请告诉我。