Is it possible to don't interrupt the video playback during rotation, 
changing a orientation-specific resource/style?

Il giorno martedì 23 ottobre 2012 15:30:34 UTC+2, Kostya Vasilyev ha 
scritto:
>
> Perhaps they use orientation-specific resources / styles?
>
> 2012/10/23 Gianluca Cacace <[email protected] <javascript:>>
>
>> If you see the new YouTube app, while you're watching a video in portrait 
>> mode, the actionbar is not in overlay mode. But when the screen rotates in 
>> landscape, the video is under the actionBar, so the actionbar is in overlay 
>> mode. I can't change this mode after setContentView. But I tried to keep 
>> the actionbar always in overlay mode, increasing the layout marginTop to 
>> the actionbar height (I tried this trick to avoid that in portrait mode my 
>> activity view goes under the actionbar). I think that way is dirty. Is 
>> there any clean solution? (I'm using ActionBarSherlock). Thanks in advance! 
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to 
>> [email protected]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to