improve syntax

This commit is contained in:
Bnyro 2022-07-04 21:44:42 +02:00
parent e0147cbaad
commit d5eaaeaa19
2 changed files with 6 additions and 3 deletions

View File

@ -706,6 +706,7 @@ class PlayerFragment : Fragment() {
} }
} }
/*
override fun onVideoSizeChanged( override fun onVideoSizeChanged(
videoSize: VideoSize videoSize: VideoSize
) { ) {
@ -720,6 +721,7 @@ class PlayerFragment : Fragment() {
} }
binding.mainContainer.requestLayout() binding.mainContainer.requestLayout()
} }
*/
@Deprecated(message = "Deprecated", level = DeprecationLevel.HIDDEN) @Deprecated(message = "Deprecated", level = DeprecationLevel.HIDDEN)
override fun onPlayerStateChanged( override fun onPlayerStateChanged(

View File

@ -240,13 +240,14 @@
android:id="@id/exo_rew_with_amount" android:id="@id/exo_rew_with_amount"
style="@style/ExoStyledControls.Button.Center.RewWithAmount" style="@style/ExoStyledControls.Button.Center.RewWithAmount"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginLeft="20dp" /> android:layout_marginStart="20dp" />
</LinearLayout> </LinearLayout>
<ImageButton <ImageButton
android:id="@id/exo_play_pause" android:id="@id/exo_play_pause"
style="@style/ExoStyledControls.Button.Center.PlayPause" /> style="@style/ExoStyledControls.Button.Center.PlayPause"
app:tint="@android:color/white" />
<LinearLayout <LinearLayout
android:layout_width="0dp" android:layout_width="0dp"
@ -258,7 +259,7 @@
android:id="@id/exo_ffwd_with_amount" android:id="@id/exo_ffwd_with_amount"
style="@style/ExoStyledControls.Button.Center.FfwdWithAmount" style="@style/ExoStyledControls.Button.Center.FfwdWithAmount"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginRight="20dp" /> android:layout_marginEnd="20dp" />
</LinearLayout> </LinearLayout>