Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
アクティビティが開いたら、2 つの編集テキストのいずれかにフォーカスを設定し、ユーザーが入力を開始できるようにソフトキー パッドを自動的に開く必要があります。これはどのように行うことができますか?
レイアウトの xml で、<requestFocus />フォーカスする EditText の下に追加します。
<requestFocus />