Skip to content

Instantly share code, notes, and snippets.

@AsynctaskCoffee
Last active September 16, 2019 21:22
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 AsynctaskCoffee/0584410198ea765d4469b61c00a34243 to your computer and use it in GitHub Desktop.
Save AsynctaskCoffee/0584410198ea765d4469b61c00a34243 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<egolabsapps.basicodemine.videolayout.VideoLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/videoLayout"
app:path_or_url="walking.mp4"
app:video_gravity="centerCrop"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:focusable="true"
android:focusableInTouchMode="true"
tools:context=".MainActivity">
<!-- some xml codes -->
</egolabsapps.basicodemine.videolayout.VideoLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment