public void dumpViewStructure(View view){ dumpViewStructure(view, 0); } public void dumpViewStructure(View view, int depth){ String string = ""; for (int i = 0; i < depth; i++) { string = string.concat("-"); } System.out.println(string + "" + view.getClass().getName()); if(ViewGroup.class.isAssignableFrom(view.getClass())){ ViewGroup vg = (ViewGroup)view; for(int i = 0; i < vg.getChildCount(); i++