Fixed progress bar moving around

This commit is contained in:
GilesMunn 2022-06-19 13:26:14 +01:00
parent e03533aa06
commit f48ebcf13b

View File

@ -193,20 +193,28 @@
</FrameLayout>
<com.google.android.exoplayer2.ui.DefaultTimeBar
android:id="@id/exo_progress"
android:layout_width="match_parent"
android:layout_height="15dp"
<LinearLayout
android:id="@+id/progress_bar"
android:layout_gravity="bottom"
android:layout_above="@id/exo_basic_controls"
android:layout_marginBottom="10dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
app:scrubber_enabled_size="12dp"
app:scrubber_dragged_size="15dp"
app:scrubber_color="?@attr/colorOnPrimary"
app:played_color="?@attr/colorOnSecondary"
app:bar_height="2dp"
android:background="@color/exo_bottom_bar_background" />
android:layout_width="match_parent"
android:layout_height="15dp" >
<com.google.android.exoplayer2.ui.DefaultTimeBar
android:id="@id/exo_progress"
android:layout_width="match_parent"
android:layout_height="15dp"
app:bar_height="2dp"
app:scrubber_color="?@attr/colorOnPrimary"
app:played_color="?@attr/colorOnSecondary"
app:scrubber_enabled_size="12dp"
app:scrubber_dragged_size="15dp"
android:background="@color/exo_bottom_bar_background" />
</LinearLayout>
<LinearLayout
android:id="@id/exo_minimal_controls"