Skip to content

Instantly share code, notes, and snippets.

@ojw28
Last active October 31, 2016 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ojw28/96700a0cd20ae4979bada9bdde07885f to your computer and use it in GitHub Desktop.
Save ojw28/96700a0cd20ae4979bada9bdde07885f to your computer and use it in GitHub Desktop.
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.exoplayer2.ui.SimpleExoPlayerView android:id="@+id/player"
android:layout_width="match_parent"
- android:layout_height="match_parent"/>
+ android:layout_height="match_parent"
+ app:resize_mode="fill"/>
</FrameLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment