I went through the entire documentation of ExoPlayer2
, but couldn't find how to increase the brightness of exoplayer
. I found a similar question
My xml is as follows
<com.google.android.exoplayer2.ui.PlayerView
android:id="@+id/exoplayer_view_activity_exo_player"
android:layout_width="0dp"
android:layout_height="0dp"
android:focusable="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:resize_mode="fill"
app:show_timeout="0"
app:use_controller="true" />
If I use SurfaceView instead how I am going to use the methods of exoplayer
. I tried placing my exoplayer tag in surface view tag but my app crashed. Is there any other way to increase brightness of exoplayer
. Please don't paste code to increase system brightness.