1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-14 21:00:17 +01:00

Use AppCompatImageButton to not crash on 4.4

This commit is contained in:
wb9688 2020-08-03 14:17:12 +02:00
parent 963ee4dbab
commit 1a8ff81087
2 changed files with 3 additions and 3 deletions

View File

@ -465,7 +465,7 @@
android:layout_height="60dp"
android:id="@+id/playQueueControl">
<ImageButton
<androidx.appcompat.widget.AppCompatImageButton
android:id="@+id/playQueueClose"
android:layout_width="50dp"
android:layout_height="50dp"

View File

@ -86,7 +86,7 @@
android:gravity="top"
tools:ignore="RtlHardcoded">
<ImageButton
<androidx.appcompat.widget.AppCompatImageButton
android:id="@+id/playerCloseButton"
android:layout_width="36dp"
android:layout_height="36dp"
@ -95,7 +95,7 @@
android:clickable="true"
android:focusable="true"
android:scaleType="fitXY"
android:src="?attr/ic_close"
app:srcCompat="?attr/ic_close"
android:background="?attr/selectableItemBackgroundBorderless"
tools:ignore="ContentDescription,RtlHardcoded"
android:visibility="gone" />