XML Layout for the Simple Stream Player


SUBMITTED BY: Guest

DATE: Feb. 4, 2015, 1:13 a.m.

FORMAT: Text only

SIZE: 713 Bytes

HITS: 614

  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. tools:context="${relativePackage}.${activityClass}"
  6. android:background="#000000">
  7. <VideoView
  8. android:id="@+id/videoPlayer"
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:layout_alignParentLeft="true"
  12. android:layout_alignParentTop="true" />
  13. </RelativeLayout>
  14. NOTES
  15. Save this as player_layout.xml under res/layout in your project
  16. Have fun ;)

comments powered by Disqus