XML and programmatic layout The tutorial taught me how to use XML files (under the layout directory) to define screen layouts. …