Is it possible to have an overlay pop up upon tapping the screen, during fullscreen video playback? This overlay would contain a ScrollView of Images and respective Text labels.
Imagine if you will, a movie streaming in fullscreen. Upon tapping the screen, a scrollable overlay would appear across the bottom with a photo and name of all actors in that particular scene. Hope the example helped.
From what I’ve managed to find, the ‘RelativeLayout’ could provide the answer I need. Almost all the questions I found relating to this, concerned either overlays on Maps or Camera feed, not streaming video.
Any help is much appreciated!
Thanks!
will keep diggin’…
Step #1: Create a
RelativeLayoutStep #2: Put the
VideoVieworSurfaceViewin theRelativeLayoutStep #3: Put the
ScrollViewin theRelativeLayoutas a later child than theVideoView/SurfaceView(e.g., later in the XML)Step #4: Make the
ScrollViewbe gone (android:visibility="gone")Step #5: On a touch event on the
VideoView/SurfaceView, make theScrollViewbe visible usingsetVisibility()Step #6: Have some way to dismiss the
ScrollView(e.g., BACK button), returning it to its normal “gone” state