/** get Section Header of layout */ private void getHeading(String s, SectionHolder sh) { int s1 = s.indexOf("heading="); int e1 = s.indexOf(";", s1); String ret = s.substring(s1 + "heading=".length(), e1); Log.v(TAG, ret); sh.name = ret; }
/** get Related Section Header of layout */ private void getRelatedLabel(String s, SectionHolder sh) { int s1 = s.indexOf("field="); int e1 = s.indexOf(".", s1); String ret = s.substring(s1 + "field=".length(), e1); // Log.v(TAG, ret); sh.name = ret; }