In activity_main.xml change from RelativeLayout to TableLayout. Change files to run on my device: build.gradle, values-v21/styles.xml.  In strings.xml add strings.