I need to hide/show some parts of an activity
when the keyboard open/closes. Such method does not exist. By searching the internet I've found that I should override the View
's onSizeChanged()
like this:
Android: onSizeChanged, an example?
.
But I have no idea where to put that line of code, nor how to assign it to an already defined RelativeLayout
. So how to Override onSizeChanged()
?
Thanks in advance