David's working version. Only change is to Reinstate EditText feature. The App now runs without crashing even with the Text Input feature.  Note that the bug was simply a missing declaration of EditText within layout/main.xml.