[Android] Auto focus the equalizer text input

Nicolas Pomepuy git at videolan.org
Wed Sep 25 12:23:58 UTC 2024


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Sep 25 14:16:07 2024 +0200| [ffa23c5e8688b14598619e5fa495da6d4955976d] | committer: Nicolas Pomepuy

Auto focus the equalizer text input

> https://code.videolan.org/videolan/vlc-android/commit/ffa23c5e8688b14598619e5fa495da6d4955976d
---

 .../vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.kt      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/application/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.kt b/application/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.kt
index ccb418dece..b32706bf0f 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.kt
@@ -350,6 +350,7 @@ class EqualizerFragment : VLCBottomSheetDialogFragment(), Slider.OnChangeListene
                 true
             } else false
         }
+        input.requestFocus()
         val window = saveEqualizer.window
         window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE)
 



More information about the Android mailing list