How to disable the keyboard with "activity starter"

Hi everyone,
can someone help me with the activity starter code to disable the keyboard?
Eg
android: name = “. MyActivity”
android: windowSoftInputMode = “stateAlwaysHidden”

I don’t want to use screen.hidekeyboard.

Thank you

Try this:
https://stackoverflow.com/questions/18977187/how-to-hide-soft-keyboard-when-activity-starts#:~:text=InputMethodManager%20imm%20%3D%20(InputMethodManager)%20getSystemService,getWindowToken()%2C%200)%3B

Thanks, I have read several discussions. I wanted some help on how to set up the activity starters, I’m not very practical and I think that for those who know them, it is easy to give me this information.