I have an application with an EditText element on the main view. This means that when my application is loaded the soft keyboard appears per default.
EditText
I
You can do something easier. Add this to the LinearLayout (or any other layout that is the root):