title: adb, how to get the view of the pop-up message?
body: <p>dear all: </p>
  
  <p>I am an old professor taking over my students' legacy program that crawls an Android app screen activities. 
  The program uses the following standard command to download the screen activity in XML from uiautomator. </p>
  
  <p>os.system("adb -s "+sn+" shell /system/bin/uiautomator dump /sdcard/uidump.xml")</p>
  
  <p>The screen shows a list of files and folders in a folder.
  When I click a document, it pops up a view that shows a list of actions, including changing the names of the clicked item.<br>
  Then I click the change-name item and the Android device screen shows a text input field for the new item name. </p>
  
  <p>However, when I used the above os.system command, uiautomator always dumped the main screen activity behind the pop-up views.<br>
  Is there a way to request uiautomator to dump the XML of the pop-up view ? </p>
  
  <p>Thanks</p>