Hi, guys --
A fullscreen activity has adjustResize attribute. When user types a text, adjustResize lifts a window content.
In general this effect is desired. But in the top of activity I placed a logotype and I want to redraw it when the keyboard appears on the screen. To redraw a logotype, I need to know vertical offset of the window.
Android obviously keeps somewhere vertical offset, but I can't find where. Any ideas ?
A fullscreen activity has adjustResize attribute. When user types a text, adjustResize lifts a window content.
In general this effect is desired. But in the top of activity I placed a logotype and I want to redraw it when the keyboard appears on the screen. To redraw a logotype, I need to know vertical offset of the window.
Android obviously keeps somewhere vertical offset, but I can't find where. Any ideas ?