0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Kotlinよく使いそうな短いスクリプトまとめ

Last updated at Posted at 2024-08-28

画面遷移

  • MainActivity::class.javaは次の画面のファイルを指定すればOK
val intent = Intent(this, MainActivity::class.java)
startActivity(intent)

フォーカスを当てる

//要素の取得
input =  findViewById(R.id.targetCd)

// Input項目へフォーカスを当てる
input.requestFocus()
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?