mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-30 23:03:00 +00:00 
			
		
		
		
	removed resizig text from popup player, as requested in #5514
This commit is contained in:
		| @@ -4049,10 +4049,6 @@ public final class Player implements | |||||||
|         return binding.currentDisplaySeek; |         return binding.currentDisplaySeek; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public TextView getResizingIndicator() { |  | ||||||
|         return binding.resizingIndicator; |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     @Nullable |     @Nullable | ||||||
|     public WindowManager.LayoutParams getPopupLayoutParams() { |     public WindowManager.LayoutParams getPopupLayoutParams() { | ||||||
|         return popupLayoutParams; |         return popupLayoutParams; | ||||||
|   | |||||||
| @@ -251,7 +251,6 @@ public class PlayerGestureListener | |||||||
|  |  | ||||||
|         player.hideControls(0, 0); |         player.hideControls(0, 0); | ||||||
|         animate(player.getCurrentDisplaySeek(), false, 0, ALPHA, 0); |         animate(player.getCurrentDisplaySeek(), false, 0, ALPHA, 0); | ||||||
|         animate(player.getResizingIndicator(), true, 200, ALPHA, 0); |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
| @@ -259,7 +258,6 @@ public class PlayerGestureListener | |||||||
|         if (DEBUG) { |         if (DEBUG) { | ||||||
|             Log.d(TAG, "onPopupResizingEnd called"); |             Log.d(TAG, "onPopupResizingEnd called"); | ||||||
|         } |         } | ||||||
|         animate(player.getResizingIndicator(), false, 100, ALPHA, 0); |  | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -680,22 +680,6 @@ | |||||||
|  |  | ||||||
|     </RelativeLayout> |     </RelativeLayout> | ||||||
|  |  | ||||||
|     <TextView |  | ||||||
|         android:id="@+id/resizing_indicator" |  | ||||||
|         android:layout_width="wrap_content" |  | ||||||
|         android:layout_height="wrap_content" |  | ||||||
|         android:layout_gravity="left|top" |  | ||||||
|         android:background="#6e000000" |  | ||||||
|         android:gravity="center" |  | ||||||
|         android:padding="5dp" |  | ||||||
|         android:text="@string/popup_resizing_indicator_title" |  | ||||||
|         android:textColor="@android:color/white" |  | ||||||
|         android:textSize="18sp" |  | ||||||
|         android:textStyle="bold" |  | ||||||
|         android:visibility="gone" |  | ||||||
|         tools:ignore="RtlHardcoded" |  | ||||||
|         tools:visibility="gone" /> |  | ||||||
|  |  | ||||||
|     <View |     <View | ||||||
|         android:id="@+id/closingOverlay" |         android:id="@+id/closingOverlay" | ||||||
|         android:layout_width="match_parent" |         android:layout_width="match_parent" | ||||||
|   | |||||||
| @@ -676,22 +676,6 @@ | |||||||
|  |  | ||||||
|     </RelativeLayout> |     </RelativeLayout> | ||||||
|  |  | ||||||
|     <TextView |  | ||||||
|         android:id="@+id/resizing_indicator" |  | ||||||
|         android:layout_width="wrap_content" |  | ||||||
|         android:layout_height="wrap_content" |  | ||||||
|         android:layout_gravity="left|top" |  | ||||||
|         android:background="#6e000000" |  | ||||||
|         android:gravity="center" |  | ||||||
|         android:padding="5dp" |  | ||||||
|         android:text="@string/popup_resizing_indicator_title" |  | ||||||
|         android:textColor="@android:color/white" |  | ||||||
|         android:textSize="18sp" |  | ||||||
|         android:textStyle="bold" |  | ||||||
|         android:visibility="gone" |  | ||||||
|         tools:ignore="RtlHardcoded" |  | ||||||
|         tools:visibility="gone" /> |  | ||||||
|  |  | ||||||
|     <View |     <View | ||||||
|         android:id="@+id/closingOverlay" |         android:id="@+id/closingOverlay" | ||||||
|         android:layout_width="match_parent" |         android:layout_width="match_parent" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 karol
					karol