Refactored UI code in MainActivity.java and QuestionActivity.java to XML

Let me know if you see any UI code that I missed in these two files.
When I say UI code, I mean calling code similar to "new SomethingView."