I'm creating an activity that will play video files from the web. That part is working well.
At certain points in the video, I need to overlay views over the video. The views will have basic UI elements, mainly buttons and some text (which cannot be predetermined).
I would like the overlay to appear as if were part of the video, and not necessarily a native UI element. The main problem I'm running into is that because the video is somewhat low quality, it has a lot of "blocking" while the UI elements are drawn very sharply.
Can anyone suggest how to add "blocking" to the UI elements?
My thought is that I can override the draw()
of the parent element and somehow use a filter to create the effect, but how exactly I would do that is beyond me.