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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -