diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-08-04 06:01:42 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-08-04 06:01:42 +0000 |
commit | 27173031a1d2f0b5cb79b56ebfefea1939aa2525 (patch) | |
tree | 2816412c310a1bd305c7d705c01168bab9375a43 /app/src/main/res/layout/exo_playback_control_view.xml | |
parent | 123898c946ffe2e7c325f9883fb221d69268cd71 (diff) | |
download | infinity-for-reddit-27173031a1d2f0b5cb79b56ebfefea1939aa2525.tar infinity-for-reddit-27173031a1d2f0b5cb79b56ebfefea1939aa2525.tar.gz infinity-for-reddit-27173031a1d2f0b5cb79b56ebfefea1939aa2525.tar.bz2 infinity-for-reddit-27173031a1d2f0b5cb79b56ebfefea1939aa2525.tar.lz infinity-for-reddit-27173031a1d2f0b5cb79b56ebfefea1939aa2525.tar.xz infinity-for-reddit-27173031a1d2f0b5cb79b56ebfefea1939aa2525.tar.zst infinity-for-reddit-27173031a1d2f0b5cb79b56ebfefea1939aa2525.zip |
Use bottom toolbar in ViewImgurVideoFragment is available.
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 | 40 |
1 files changed, 40 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 index 17b332ef..b81b5026 100644 --- a/app/src/main/res/layout/exo_playback_control_view.xml +++ b/app/src/main/res/layout/exo_playback_control_view.xml @@ -83,4 +83,44 @@ </LinearLayout> + <com.google.android.material.bottomappbar.BottomAppBar + android:id="@+id/bottom_navigation_exo_playback_control_view" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_gravity="bottom" + android:backgroundTint="#80000000" + android:visibility="gone" + style="@style/Widget.MaterialComponents.BottomAppBar"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <TextView + android:id="@+id/title_text_view_exo_playback_control_view" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:layout_gravity="center_vertical" + android:gravity="center_vertical" + android:paddingTop="8dp" + android:paddingBottom="8dp" + android:textColor="#FFFFFF" + android:textSize="?attr/font_20" + android:fontFamily="?attr/font_family" + android:maxLines="1" + android:ellipsize="end" /> + + <ImageView + android:id="@+id/download_image_view_exo_playback_control_view" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:padding="16dp" + android:src="@drawable/ic_file_download_toolbar_white_24dp" + android:background="?attr/selectableItemBackgroundBorderless" /> + + </LinearLayout> + + </com.google.android.material.bottomappbar.BottomAppBar> + </LinearLayout>
\ No newline at end of file |