added support for Samsung Multi-Window

Hi!
those changes should be sufficient to solve issue http://code.google.com/p/ankidroid/issues/detail?id=1441 I checked it on my Note device and on Cyanogenmod device. 
BR
Mateusz