0

I'm facing a weird issue where my bottom navigation jumps to be above the keyboard when typing. This is only done when I'm setting a view that is next to the edittext, as shown in the screenshot, from 'View.GONE' to 'View.VISIBLE'

enter image description here

ADM
  • 20,406
  • 11
  • 52
  • 83
Devin S
  • 135
  • 1
  • 12
  • did you try to add dis on your manifest `android:windowSoftInputMode="adjustPan"` ? – Shay Kin Feb 25 '21 at 23:29
  • add your xml file too – Danish Feb 26 '21 at 04:34
  • Does this answer your question? [Hiding ‘Bottom Navigation Bar’ whilst keyboard is present - Android](https://stackoverflow.com/questions/43115510/hiding-bottom-navigation-bar-whilst-keyboard-is-present-android) – ADM Feb 26 '21 at 05:24
  • This is an Epic one . use the accepted answer from above link . – ADM Feb 26 '21 at 05:24

1 Answers1

0

Give this tag in Manifest file android:windowSoftInputMode="adjustPan"

<activity
            android:name=".Youractivity"
            ...
android:windowSoftInputMode="adjustPan" />