Currently, I have a layout which contains a
TextView and an
EditText. When the layout is displayed, the focus will be automatically put on the
EditText, which will trigger the keyboard to show up on Android phone. It is not what I want. Is there any way that I can set the focus on
TextView or on nothing when a layout is displayed?
Set focus: The framework will handled moving focus in response to user input. To force focus to a specific view, call requestFocus()