From 8a626753cd9cb503671b6f843b109c3476028baa Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Sat, 23 Sep 2023 19:10:19 -0400 Subject: Changed video control UI. --- .../main/res/layout/exo_playback_control_view.xml | 97 ++++++++++++---------- 1 file changed, 54 insertions(+), 43 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/exo_playback_control_view.xml b/app/src/main/res/layout/exo_playback_control_view.xml index 096a6f5b..bcbfb44d 100644 --- a/app/src/main/res/layout/exo_playback_control_view.xml +++ b/app/src/main/res/layout/exo_playback_control_view.xml @@ -1,7 +1,6 @@ + android:textSize="?attr/font_default" + android:fontFamily="?attr/font_family" /> @@ -136,8 +140,6 @@ android:layout_height="wrap_content" android:textSize="14sp" android:textStyle="bold" - android:paddingLeft="4dp" - android:paddingRight="4dp" android:includeFontPadding="false" android:textColor="#FFFFFF" android:fontFamily="?attr/font_family" /> @@ -146,18 +148,18 @@ android:id="@id/exo_progress" android:layout_width="0dp" android:layout_weight="1" - android:layout_height="26dp" + android:layout_height="wrap_content" + android:layout_marginStart="8dp" + android:layout_marginEnd="8dp" app:bar_height="2dp" - app:scrubber_color="@color/colorAccent" - app:played_color="@color/colorAccent" /> + app:scrubber_color="#FFFFFF" + app:played_color="#FFFFFF" /> @@ -169,47 +171,56 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" + app:contentInsetStart="0dp" android:backgroundTint="#00000000" app:elevation="0dp" android:visibility="gone" style="@style/Widget.MaterialComponents.BottomAppBar"> - - - - + + - - + + - - + app:strokeWidth="0dp" + app:icon="@drawable/ic_playback_speed_toolbar_24dp" + app:iconSize="24dp" + app:iconTint="@null" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + style="?attr/materialIconButtonOutlinedStyle" /> + + -- cgit v1.2.3