remove kotlin-android-extensions, use viewBinding in Player
also replace exo_progress_placeholder with exoplayer2.ui.DefaultTimeBar since the placehoder wont work with viewbinding
This commit is contained in:
		@ -2,7 +2,7 @@
 | 
			
		||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:app="http://schemas.android.com/apk/res-auto"
 | 
			
		||||
    xmlns:tools="http://schemas.android.com/tools"
 | 
			
		||||
    android:id="@+id/player_layout"
 | 
			
		||||
    android:id="@+id/player_root"
 | 
			
		||||
    android:layout_width="match_parent"
 | 
			
		||||
    android:layout_height="match_parent"
 | 
			
		||||
    android:background="#000000"
 | 
			
		||||
 | 
			
		||||
@ -2,6 +2,7 @@
 | 
			
		||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:app="http://schemas.android.com/apk/res-auto"
 | 
			
		||||
    xmlns:tools="http://schemas.android.com/tools"
 | 
			
		||||
    android:id="@+id/player_controls_root"
 | 
			
		||||
    android:layout_width="match_parent"
 | 
			
		||||
    android:layout_height="match_parent"
 | 
			
		||||
    android:background="#73000000">
 | 
			
		||||
@ -94,11 +95,12 @@
 | 
			
		||||
        android:layout_marginEnd="12dp"
 | 
			
		||||
        android:layout_marginBottom="@dimen/player_styled_progress_margin_bottom">
 | 
			
		||||
 | 
			
		||||
        <View
 | 
			
		||||
            android:id="@+id/exo_progress_placeholder"
 | 
			
		||||
        <com.google.android.exoplayer2.ui.DefaultTimeBar
 | 
			
		||||
            android:id="@id/exo_progress"
 | 
			
		||||
            android:layout_width="0dp"
 | 
			
		||||
            android:layout_height="@dimen/player_styled_progress_layout_height"
 | 
			
		||||
            android:layout_marginBottom="2dp"
 | 
			
		||||
            android:contentDescription="@string/desc_time_bar"
 | 
			
		||||
            app:bar_height="3dp"
 | 
			
		||||
            app:layout_constraintBottom_toBottomOf="parent"
 | 
			
		||||
            app:layout_constraintEnd_toStartOf="@+id/exo_remaining"
 | 
			
		||||
            app:layout_constraintStart_toStartOf="parent"
 | 
			
		||||
@ -107,9 +109,10 @@
 | 
			
		||||
        <TextView
 | 
			
		||||
            android:id="@+id/exo_remaining"
 | 
			
		||||
            style="@style/ExoStyledControls.TimeText.Position"
 | 
			
		||||
            android:layout_height="0dp"
 | 
			
		||||
            android:layout_height="wrap_content"
 | 
			
		||||
            app:layout_constraintBottom_toBottomOf="parent"
 | 
			
		||||
            app:layout_constraintEnd_toEndOf="parent" />
 | 
			
		||||
            app:layout_constraintEnd_toEndOf="parent"
 | 
			
		||||
            app:layout_constraintTop_toTopOf="parent" />
 | 
			
		||||
    </androidx.constraintlayout.widget.ConstraintLayout>
 | 
			
		||||
 | 
			
		||||
    <androidx.constraintlayout.widget.ConstraintLayout
 | 
			
		||||
 | 
			
		||||
@ -84,6 +84,7 @@
 | 
			
		||||
    <string name="episodes">Folgen</string>
 | 
			
		||||
    <string name="episode">Folge</string>
 | 
			
		||||
    <string name="no_subtitles">Aus</string>
 | 
			
		||||
    <string name="desc_time_bar">Zeitleiste</string>
 | 
			
		||||
 | 
			
		||||
    <!-- Onboarding -->
 | 
			
		||||
    <string name="skip">Überspringen</string>
 | 
			
		||||
 | 
			
		||||
@ -106,6 +106,7 @@
 | 
			
		||||
    <string name="episodes">Episodes</string>
 | 
			
		||||
    <string name="episode">Episode</string>
 | 
			
		||||
    <string name="no_subtitles">None</string>
 | 
			
		||||
    <string name="desc_time_bar">time bar</string>
 | 
			
		||||
 | 
			
		||||
    <!-- Onboarding -->
 | 
			
		||||
    <string name="skip">Skip</string>
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user