Merge pull request #3858 from ByteHamster/highlight-video-buttons

Added ripple effect to video control buttons
This commit is contained in:
H. Lehmann 2020-02-12 18:31:18 +01:00 committed by GitHub
commit 7559d2aebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -27,6 +27,8 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layoutDirection="ltr"
android:background="@android:color/transparent"
android:padding="16dp"
android:orientation="horizontal">
<ImageButton
@ -34,7 +36,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:background="@android:color/transparent"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/rewind_label"
app:srcCompat="@drawable/ic_av_fast_rewind_white_80dp" />
@ -43,7 +45,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:background="@android:color/transparent"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/pause_label"
app:srcCompat="@drawable/ic_av_pause_white_80dp" />
@ -52,7 +54,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:background="@android:color/transparent"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/fast_forward_label"
app:srcCompat="@drawable/ic_av_fast_forward_white_80dp" />