What is the appropriate way to play a video in the background of an Android Activity (video as background view) -
none of existing tutorials i've found work. have suggestions on correct implementation this?
have framelayout videoview , view holds content.make content view semi transparent.this way video play in background , semi transparent content on top of it.
something this:
<framelayout android:layout_width="fill_parent" android:layout_height="fill_parent"> <videoview android:id="@+id/progress_bar" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_gravity="center_horizontal|top" /> <textview android:background="#ccff0000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_gravity="center_horizontal|top" > </textview> </framelayout>
let me know if works you
Comments
Post a Comment