[Android] Hide the keyboard and improve the focus on the TV safe mode unlock tips
Nicolas Pomepuy
git at videolan.org
Wed Jul 12 08:30:37 UTC 2023
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Jul 10 13:16:57 2023 +0200| [822ef238a9207c5d8195e6e4de615bf253ba42b9] | committer: Duncan McNamara
Hide the keyboard and improve the focus on the TV safe mode unlock tips
> https://code.videolan.org/videolan/vlc-android/commit/822ef238a9207c5d8195e6e4de615bf253ba42b9
---
application/vlc-android/src/org/videolan/vlc/gui/PinCodeActivity.kt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/PinCodeActivity.kt b/application/vlc-android/src/org/videolan/vlc/gui/PinCodeActivity.kt
index c8a34484cb..44dd0fedaf 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/PinCodeActivity.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/PinCodeActivity.kt
@@ -197,7 +197,9 @@ class PinCodeActivity : BaseActivity() {
binding.sucessGroup.setVisible()
binding.nextButton.text = getString(R.string.done)
binding.nextButton.isEnabled = true
-// finish()
+ binding.keyboardGrid.setGone()
+ binding.nextButton.requestFocus()
+ binding.cancelButton.setGone()
}
/**
More information about the Android
mailing list