mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 16:30:31 +05:30
Merge pull request #564 from GilesMunn/margins
Increased time bar scrubber size, tweaked margins
This commit is contained in:
commit
218e9fb8c5
@ -113,6 +113,7 @@
|
|||||||
android:paddingLeft="@dimen/exo_styled_bottom_bar_time_padding"
|
android:paddingLeft="@dimen/exo_styled_bottom_bar_time_padding"
|
||||||
android:paddingRight="@dimen/exo_styled_bottom_bar_time_padding"
|
android:paddingRight="@dimen/exo_styled_bottom_bar_time_padding"
|
||||||
android:layout_gravity="center_vertical|start"
|
android:layout_gravity="center_vertical|start"
|
||||||
|
android:layout_marginBottom="10dp"
|
||||||
android:layoutDirection="ltr">
|
android:layoutDirection="ltr">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -132,6 +133,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical|end"
|
android:layout_gravity="center_vertical|end"
|
||||||
|
android:layout_marginBottom="10dp"
|
||||||
android:layoutDirection="ltr">
|
android:layoutDirection="ltr">
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
@ -191,13 +193,28 @@
|
|||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
||||||
<View
|
<LinearLayout
|
||||||
android:id="@id/exo_progress_placeholder"
|
android:id="@+id/progress_bar"
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="15dp"
|
|
||||||
android:layout_gravity="bottom"
|
android:layout_gravity="bottom"
|
||||||
android:layout_marginBottom="1dp"
|
android:layout_above="@id/exo_basic_controls"
|
||||||
android:background="@color/exo_bottom_bar_background" />
|
android:layout_marginBottom="10dp"
|
||||||
|
android:layout_marginLeft="10dp"
|
||||||
|
android:layout_marginRight="10dp"
|
||||||
|
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
|
<LinearLayout
|
||||||
android:id="@id/exo_minimal_controls"
|
android:id="@id/exo_minimal_controls"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user