Add to your activity android:windowSoftInputMode="stateHidden"
in Manifest file. Example:
<activity
android:name=".ui.activity.MainActivity"
android:label="@string/mainactivity"
android:windowSoftInputMode="stateHidden"/>