Hello,
My Activity goes like this :
It has a FrameLayout in which I've put a VideoView playing some video.
At some point during execution, I want to display a few buttons over
the video. In order to do so, I add a LinearLayout with a transparent
background and containing the buttons to the FrameLayout so that the
buttons display on top of the VideoView with the video still visible.
This doesn't work and the buttons refuse to show but they do show if I
change the screen orientation. My guess is that Android doesn't want
to change the displayed view during execution but only when creating
the display.

I've tried, instead of adding the LinearLayout when I need it, to have
it present right from the start of the Activity but with visibility
INVISIBLE and then make it VISIBLE when wanted. This brings the exact
same result.
So my question is : is there a way to force Android to refresh its
display during the Activity so that the View shows ?

Another thing that bugs me is, although I can't summon the thing
properly, when I want to hide or delete these buttons it does it just
fine so why is it only working in one way ?
Hope somebody can help.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to