0

I have screen with search view at the top and RecyclerView (parent is ScrollView). When search result is empty I'm showing TextView with text "Nothing found". The problem is that the text is covered by the keyboard. I'm using ADJUST_RESIZE and when the keyboard rises the content is resized so that the text is visible on the screen and not hidden behind the keyboard.

But I have a slightly different case, when the keyboard is already visible, but there is no TextView, but then at the end of the search, if nothing is found, I show the TextView.

And in this case, the screen is no longer resized. Is it possible to initiate a screen resize in such a way that the TextView rises above the keyboard and becomes visible? And will such an operation be resource-intensive?

Please, help me.

testivanivan
  • 967
  • 13
  • 36

0 Answers0