custom player interface: add progress-bar, rewind/forward

This commit is contained in:
2020-11-05 20:07:41 +01:00
parent 1595ef52bc
commit 1118c8339c
7 changed files with 64 additions and 26 deletions

View File

@ -22,8 +22,10 @@
<ImageButton
android:id="@+id/exo_rew_10"
style="@style/ExoStyledControls.Button.Center.RewWithAmount"
android:layout_width="52dp"
android:layout_height="52dp" />
android:layout_width="42dp"
android:layout_height="42dp"
android:tint="@color/exo_white"/>
<Space
android:layout_width="0dp"
@ -45,8 +47,8 @@
<ImageButton
android:id="@+id/exo_ffwd_10"
style="@style/ExoStyledControls.Button.Center.FfwdWithAmount"
android:layout_width="52dp"
android:layout_height="52dp" />
android:layout_width="42dp"
android:layout_height="42dp" />
<Space
android:layout_width="0dp"
@ -58,6 +60,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginStart="7dp"
android:layout_marginEnd="7dp"
android:layout_marginBottom="@dimen/exo_styled_progress_margin_bottom">
<TextView
@ -83,22 +87,5 @@
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<LinearLayout
android:id="@+id/exo_time"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginBottom="@dimen/exo_styled_progress_margin_bottom"
android:orientation="horizontal"
tools:visibility="gone">
</LinearLayout>
</FrameLayout>