Skip to content

Commit ce560d1

Browse files
committed
focus on input field to reveal keyboard on startup
1 parent 65c8ed8 commit ce560d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/replete/Main.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ class MainActivity : AppCompatActivity() {
403403
val replHistory: ListView = findViewById(R.id.repl_history)
404404
evalButton = findViewById(R.id.eval_button)
405405

406+
inputField!!.requestFocus()
406407
inputField!!.hint = "Type in here"
407408
inputField!!.setHintTextColor(Color.GRAY)
408409

0 commit comments

Comments
 (0)