Ignore:
Timestamp:
02/25/15 12:53:12 (9 years ago)
Author:
funger
Message:
  • Monitor the position of the element in the original GUI.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-androidmonitor/src/main/java/de/ugoe/cs/autoquest/androidmonitor/AndroidMonitorLogFile.java

    r1871 r1882  
    260260     *            name of the activity that is analyzed 
    261261     */ 
    262     public void addComponent(View view, int parentHash, String activityName) { 
     262    public void addComponent(View view, int parentHash, String activityName, int position) { 
    263263        XmlSerializer serializer = Xml.newSerializer(); 
    264264        StringWriter writer = new StringWriter(); 
     
    290290            serializer.attribute("", "value", "" + view.getId()); 
    291291            serializer.endTag("", "param"); 
     292             
     293            serializer.startTag("", "param"); 
     294            serializer.attribute("", "name", "position"); 
     295            serializer.attribute("", "value", "" + position); 
     296            serializer.endTag("", "param"); 
    292297 
    293298            if (view instanceof TextView) { 
Note: See TracChangeset for help on using the changeset viewer.