diff options
author | Alex Ning <chineseperson5@gmail.com> | 2018-07-26 15:04:44 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2018-07-26 15:04:44 +0000 |
commit | 1f2137dd365bc07b5fd38df22e54379933585994 (patch) | |
tree | f9ef585dda71db8bc809120761cac42e22dd1193 /app/src/main/res/layout/exo_playback_control_view.xml | |
download | infinity-for-reddit-1f2137dd365bc07b5fd38df22e54379933585994.tar infinity-for-reddit-1f2137dd365bc07b5fd38df22e54379933585994.tar.gz infinity-for-reddit-1f2137dd365bc07b5fd38df22e54379933585994.tar.bz2 infinity-for-reddit-1f2137dd365bc07b5fd38df22e54379933585994.tar.lz infinity-for-reddit-1f2137dd365bc07b5fd38df22e54379933585994.tar.xz infinity-for-reddit-1f2137dd365bc07b5fd38df22e54379933585994.tar.zst infinity-for-reddit-1f2137dd365bc07b5fd38df22e54379933585994.zip |
First commit
Diffstat (limited to 'app/src/main/res/layout/exo_playback_control_view.xml')
-rw-r--r-- | app/src/main/res/layout/exo_playback_control_view.xml | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/app/src/main/res/layout/exo_playback_control_view.xml b/app/src/main/res/layout/exo_playback_control_view.xml new file mode 100644 index 00000000..752826fb --- /dev/null +++ b/app/src/main/res/layout/exo_playback_control_view.xml @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/linear_layout_exo_playback_control_view" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_gravity="bottom" + android:background="@color/transparentActionBarColor" + android:orientation="vertical"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center" + android:paddingTop="4dp" + android:orientation="horizontal"> + + <ImageButton android:id="@id/exo_rew" + style="@style/ExoMediaButton.Rewind"/> + + <ImageButton android:id="@id/exo_play" + style="@style/ExoMediaButton.Play"/> + + <ImageButton android:id="@id/exo_pause" + style="@style/ExoMediaButton.Pause"/> + + <ImageButton android:id="@id/exo_ffwd" + style="@style/ExoMediaButton.FastForward"/> + + </LinearLayout> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="4dp" + android:gravity="center_vertical" + android:orientation="horizontal"> + + <TextView android:id="@id/exo_position" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="14sp" + android:textStyle="bold" + android:paddingLeft="4dp" + android:paddingRight="4dp" + android:includeFontPadding="false" + android:textColor="#FFBEBEBE"/> + + <com.google.android.exoplayer2.ui.DefaultTimeBar + android:id="@id/exo_progress" + android:layout_width="0dp" + android:layout_weight="1" + android:layout_height="26dp"/> + + <TextView android:id="@id/exo_duration" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="14sp" + android:textStyle="bold" + android:paddingLeft="4dp" + android:paddingRight="4dp" + android:includeFontPadding="false" + android:textColor="#FFBEBEBE"/> + + </LinearLayout> + +</LinearLayout>
\ No newline at end of file |