Search code examples
androidandroid-layoutandroid-intentandroid-activityandroid-fragments

How can i get the view of anyScreen programatically wherever i am present at the screen


**How can i Get View From that corresponding Screen Programatically **

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.

Thanks in advance.


Solution

  • Try this:

    View newView = this.getView();
    

    Let me know if this helps.