Parses an Android layout XML file iteratively, getting every element with an explicit id.
Then creates private variables, and separately the initializers for each one, with an appropriate cast in place.
Greatly lowers time to convert layout -> finished custom view.
Pass as first parameter the path to a layout.xml. All output is on stdout.