Android , Admob / Adview takes|steals focus from edittext , How to prevent?

view story

http://stackoverflow.com – I am creating views and add these views to a linearlayout , These input is taken from edittext at the bottom of the screen like a messanger application. Whenever i push the 'done' button it triggers and add that message to that message linearlayout. The problem : When i want to put adview between those messages e.g. between every 10 message. Edittext is losing focus and that causes whole layout to scroll down. What i want : Edittext should not lose the focus and everytime it should be active waiting for input with keyboard open. What i tried and did not work : if (messageCounter % 10 = (HowTos)