You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Keyboard hides instruction EditText in CreateTriggerActivity
The soft keyboard was covering the instruction EditText when it was focused, preventing the user from seeing what they were typing.
This was fixed by:
1. Setting `android:windowSoftInputMode="adjustResize"` for `CreateTriggerActivity` in the manifest.
2. Ensuring the layout is wrapped in a `ScrollView`.
3. Adding an `OnFocusChangeListener` to the `EditText` that programmatically scrolls the `ScrollView` to make the input field visible when it gains focus. This provides a more robust solution than relying on `adjustResize` alone.
0 commit comments