mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 13:50:30 +05:30
Fixed progress bar moving around
This commit is contained in:
parent
e03533aa06
commit
f48ebcf13b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user