Screen flickering when showing keyboard (when showing ad)

362 views
Skip to first unread message

BeniDzii0702

unread,
Feb 14, 2014, 1:31:21 AM2/14/14
to google-adm...@googlegroups.com
Hi,
 
Now that my ads are working, I figured out that there is a problem when I want to put some text into a textfield.
When I click on the textfield, the keyboard shows up. It's showing up normally when the ad isn't loaded yet. But when the ad is loaded the complete layout starts flickering.
Its like the layout is getting smaller and bigger very fast. On google, I didnt find people with exactly the same problem. There are similar problems, but their solution doesn't work for me.
 
Anybody there with the same problem?
 
 
Thanks,
 
Beni

BeniDzii0702

unread,
Feb 15, 2014, 6:33:52 PM2/15/14
to google-adm...@googlegroups.com
Ok after a longer time of searching and trying i found out that the solution is adding the following attribute to the Activity at the AndroidManifest.xml :

  android:windowSoftInputMode="adjustPan"


That was it, the activity wont change now its size.

Ben
Reply all
Reply to author
Forward
0 new messages