mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 07:13:00 +00:00 
			
		
		
		
	Use AppCompatImageButton to not crash on 4.4
This commit is contained in:
		| @@ -465,7 +465,7 @@ | |||||||
|             android:layout_height="60dp" |             android:layout_height="60dp" | ||||||
|             android:id="@+id/playQueueControl"> |             android:id="@+id/playQueueControl"> | ||||||
|  |  | ||||||
|             <ImageButton |             <androidx.appcompat.widget.AppCompatImageButton | ||||||
|                 android:id="@+id/playQueueClose" |                 android:id="@+id/playQueueClose" | ||||||
|                 android:layout_width="50dp" |                 android:layout_width="50dp" | ||||||
|                 android:layout_height="50dp" |                 android:layout_height="50dp" | ||||||
|   | |||||||
| @@ -86,7 +86,7 @@ | |||||||
|                     android:gravity="top" |                     android:gravity="top" | ||||||
|                     tools:ignore="RtlHardcoded"> |                     tools:ignore="RtlHardcoded"> | ||||||
|  |  | ||||||
|                     <ImageButton |                     <androidx.appcompat.widget.AppCompatImageButton | ||||||
|                         android:id="@+id/playerCloseButton" |                         android:id="@+id/playerCloseButton" | ||||||
|                         android:layout_width="36dp" |                         android:layout_width="36dp" | ||||||
|                         android:layout_height="36dp" |                         android:layout_height="36dp" | ||||||
| @@ -95,7 +95,7 @@ | |||||||
|                         android:clickable="true" |                         android:clickable="true" | ||||||
|                         android:focusable="true" |                         android:focusable="true" | ||||||
|                         android:scaleType="fitXY" |                         android:scaleType="fitXY" | ||||||
|                         android:src="?attr/ic_close" |                         app:srcCompat="?attr/ic_close" | ||||||
|                         android:background="?attr/selectableItemBackgroundBorderless" |                         android:background="?attr/selectableItemBackgroundBorderless" | ||||||
|                         tools:ignore="ContentDescription,RtlHardcoded" |                         tools:ignore="ContentDescription,RtlHardcoded" | ||||||
|                         android:visibility="gone" /> |                         android:visibility="gone" /> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 wb9688
					wb9688