Re: [android-developers] Re: Text on VideoView
The current way I am doing is have Video View and TextView widgets side by side. I came across Canvas API with drawText function. exploring how it can be used to overlay text of video view. On Mon, Oct 24, 2011 at 2:42 PM, Zsolt Vasvari zvasv...@gmail.com wrote: I assume you have tried it and having some kinf of problem? On Oct 24, 4:29 pm, Sambhav isamb...@gmail.com wrote: Hi, Is it possible to overlay text on VideoView ? Regards, Sambhav -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Text on VideoView
On Mon, Oct 24, 2011 at 2:27 PM, Sambhav isamb...@gmail.com wrote: The current way I am doing is have Video View and TextView widgets side by side. I came across Canvas API with drawText function. exploring how it can be used to overlay text of video view. Just put the VideoView and the TextView in a RelativeLayout -- if the TextView is later in the XML file, it will appear to float over the VideoView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Text on VideoView
Thanks Mark. Relative layout worked :) On Tue, Oct 25, 2011 at 12:13 AM, Mark Murphy mmur...@commonsware.comwrote: On Mon, Oct 24, 2011 at 2:27 PM, Sambhav isamb...@gmail.com wrote: The current way I am doing is have Video View and TextView widgets side by side. I came across Canvas API with drawText function. exploring how it can be used to overlay text of video view. Just put the VideoView and the TextView in a RelativeLayout -- if the TextView is later in the XML file, it will appear to float over the VideoView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en