From 442127959f8a003fced729984bb244701118a94c Mon Sep 17 00:00:00 2001 From: Lisheng Guan Date: Tue, 27 Feb 2024 14:39:34 +0800 Subject: [PATCH] request focus after create --- app/src/main/java/com/money/manager/ex/PasscodeActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/money/manager/ex/PasscodeActivity.java b/app/src/main/java/com/money/manager/ex/PasscodeActivity.java index a69eb292cb..2a020788db 100644 --- a/app/src/main/java/com/money/manager/ex/PasscodeActivity.java +++ b/app/src/main/java/com/money/manager/ex/PasscodeActivity.java @@ -91,6 +91,8 @@ protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.passcode_activity); + findViewById(R.id.editTextPasscode1).requestFocus(); + ButterKnife.bind(this); // create a listener for button