JitPack
repository to your build.gradle
fileandroid support compat
com.google.android.gms:play-services-cast-framework:$version
with version >= 18.1.0
or version=16.2.0
(support compat) to avoid dependency version conflictsbuild.gradle
files depending on ExoPlayer, by adding the following to the android
section:Tree
instances you want in the onCreate
of your application classactivity
or fragment
app:controller_layout_id="@layout/uz_controller_custom_layout"
id
s if you are using it.onCreate()
of Activity
, put this code:android:id="@id/player_view"
Do not change android:id="@id/player_view_0"
or android:id="@+id/player_view_0"
...Android Nougat
(Android SDK >= 24) Google supported PIP
. To implement, in AndroidManifest.xml
add android:supportsPictureInPicture="true"
inside Your Activity
and review PIPPlayerActivity
.Scheme
, select the setting icon > Import Scheme > Intellij IDEA code style XMLuiza_style.xml
file path+
iconUse local checkstyle file
& select path to uiza_check.xml
file