title: Get view of AccessibilityNodeInfo to create overlay
body: <p>I'm writing a <code>AccessibilityService</code> and I want to create view overlays on the views from the current activity that the accessibility service can retrieve. I have no problems to retrieve all <code>AccessibilityNodeInfo</code> objects from the current activity, but I have no idea how to get the views from these objects to create overlays. Unfortunately there are only few examples regarding accessibility services. Maybe some of you already have experience with this topic. I hope you can help me! Thanks!</p>
  
  <p>EDIT: A paper shows that overlays over an activity's view contents are possible: </p>
  
  <blockquote>
    <p>The display overlay is able to perform these tasks thanks to the
    Android Accessibility Framework [10]. Using the accessibility API, it
    is able to access and inspect the GUI layout of the applications on the screen,
    without requiring modifications or the instrumentation of the application code."* </p>
  </blockquote>
  
  <p>Link: <a href="http://www.onarlioglu.com/publications/fc2015babelcrypt.pdf" rel="nofollow">http://www.onarlioglu.com/publications/fc2015babelcrypt.pdf</a></p>
  
  <p>Page 6 and 8. Thanks!</p>