Dilli wrote:
> How to add an icon on the top of VideoView,
> I want my player  VideoView window should contain the brand image of
> my player.
> How to add it to the VideoView

Step #1: Create a RelativeLayout

Step #2: Make the VideoView be the first child of the RelativeLayout,
positioned as you want (e.g., fill_parent/fill_parent)

Step #3: Add an ImageView as the second child of the RelativeLayout,
positioned as you want

That's it. RelativeLayout supports overlapping widgets -- later children
are "higher in the z-order" (i.e., they appear to float over earlier
children).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

-- 
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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to