Input on focus not scrolling in view on Android

My problem is quiet simple: I have a form for login and a form for registration. I would like that when I click in input area, it scrolls on the center of the view: on iOs it happens authomatically, but not on Android, there it is hidden by keyboard.