Skip to content

Commit f5019ee

Browse files
committed
Merge pull request #31 from wordpress-mobile/issue/30-keyboard-appears-on-tapping
Do not open new keyboard when Pin lock screen field gets the focus
2 parents b547e4d + c5cb0f5 commit f5019ee

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

library/res/layout/app_passcode_keyboard.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
android:layout_height="wrap_content"
4949
android:layout_marginRight="38dp"
5050
android:hint="@string/passcodelock_hint"
51+
android:focusable="false"
52+
android:clickable="false"
5153
android:maxLength="4"
5254
android:inputType="numberPassword"
5355
android:background="@color/white" />

library/src/org/wordpress/passcodelock/AbstractPasscodeKeyboardActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected void onCreate(Bundle savedInstanceState) {
5151
filters[1] = onlyNumber;
5252

5353
mPinCodeField = (EditText)findViewById(R.id.pin_field);
54-
54+
5555
//setup the keyboard
5656
findViewById(R.id.button0).setOnClickListener(defaultButtonListener);
5757
findViewById(R.id.button1).setOnClickListener(defaultButtonListener);

0 commit comments

Comments
 (0)