How to obtain the size of the keyboard, or how to solve the following problem?

1. How can I get the height of the keyboard, with the context.(or I will be glad to hear your solutions).
2. There is a screen таv you can see edit below s and text'text view's( they are like 1 of the elements sroll down view, and in turn reletive layout inside the scrollview). When I click to print I have a textview is hidden under the keyboard. The Manifesto is:
android:windowSoftInputMode="adjustResize"

38fc29082dfb4287b500ba49e06a83fe.png

Guys thank you all for the replies, advice and suggestions. Also check out my Paint skills :D
p.s. maybe I didn't clearly described the problem, in this case will answer all the questions that you have.
July 2nd 19 at 17:50
1 answer
July 2nd 19 at 17:52
here the further proposals have also adjustResize
thanks for the reply, but alas, 0) - Tressie.Williamson53 commented on July 2nd 19 at 17:55

Find more questions by tags Android