Guest User

Untitled

a guest
Jan 17th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <merge xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools">
  5.  
  6. <com.google.android.exoplayer2.ui.AspectRatioFrameLayout
  7. android:id="@id/exo_content_frame"
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:layout_gravity="center"
  11. app:resize_mode="fill">
  12.  
  13. <View
  14. android:id="@id/exo_shutter"
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:background="@android:color/holo_red_light" />
  18.  
  19. <ImageView
  20. android:id="@id/exo_artwork"
  21. android:layout_width="match_parent"
  22. android:layout_height="0dp" />
  23.  
  24. <com.google.android.exoplayer2.ui.SubtitleView
  25. android:id="@id/exo_subtitles"
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content" />
  28.  
  29. </com.google.android.exoplayer2.ui.AspectRatioFrameLayout>
  30.  
  31. <View
  32. android:id="@id/exo_controller_placeholder"
  33. android:layout_width="match_parent"
  34. android:layout_height="wrap_content" />
  35.  
  36. <FrameLayout
  37. android:id="@id/exo_overlay"
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content" />
  40.  
  41. </merge>
  42.  
  43. <com.google.android.exoplayer2.ui.SimpleExoPlayerView
  44. android:id="@+id/player"
  45. android:layout_width="match_parent"
  46. android:layout_height="wrap_content"
  47. ads:show_timeout="0"></com.google.android.exoplayer2.ui.SimpleExoPlayerView>
Add Comment
Please, Sign In to add comment