Creating fragment_main.xml with a linear layout containing a TextView, EditText and Button