mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 15:23:00 +00:00 
			
		
		
		
	Restore focus handling for TVs in player.xml
This commit is contained in:
		| @@ -85,6 +85,7 @@ | |||||||
|                 android:layout_height="wrap_content" |                 android:layout_height="wrap_content" | ||||||
|                 android:layout_alignParentTop="true" |                 android:layout_alignParentTop="true" | ||||||
|                 android:baselineAligned="false" |                 android:baselineAligned="false" | ||||||
|  |                 android:descendantFocusability="afterDescendants" | ||||||
|                 android:gravity="top" |                 android:gravity="top" | ||||||
|                 android:orientation="vertical" |                 android:orientation="vertical" | ||||||
|                 android:paddingStart="@dimen/player_main_controls_padding" |                 android:paddingStart="@dimen/player_main_controls_padding" | ||||||
| @@ -96,6 +97,7 @@ | |||||||
|                     android:layout_width="match_parent" |                     android:layout_width="match_parent" | ||||||
|                     android:layout_height="wrap_content" |                     android:layout_height="wrap_content" | ||||||
|                     android:baselineAligned="false" |                     android:baselineAligned="false" | ||||||
|  |                     android:descendantFocusability="afterDescendants" | ||||||
|                     android:gravity="top" |                     android:gravity="top" | ||||||
|                     android:minHeight="45dp" |                     android:minHeight="45dp" | ||||||
|                     tools:ignore="RtlHardcoded"> |                     tools:ignore="RtlHardcoded"> | ||||||
| @@ -438,6 +440,7 @@ | |||||||
|                     android:layout_gravity="center" |                     android:layout_gravity="center" | ||||||
|                     android:layout_marginTop="2dp" |                     android:layout_marginTop="2dp" | ||||||
|                     android:layout_weight="1" |                     android:layout_weight="1" | ||||||
|  |                     android:nextFocusDown="@id/screenRotationButton" | ||||||
|                     tools:progress="25" |                     tools:progress="25" | ||||||
|                     tools:secondaryProgress="50" /> |                     tools:secondaryProgress="50" /> | ||||||
|  |  | ||||||
| @@ -473,6 +476,7 @@ | |||||||
|                     android:background="?attr/selectableItemBackgroundBorderless" |                     android:background="?attr/selectableItemBackgroundBorderless" | ||||||
|                     android:clickable="true" |                     android:clickable="true" | ||||||
|                     android:focusable="true" |                     android:focusable="true" | ||||||
|  |                     android:nextFocusUp="@id/playbackSeekBar" | ||||||
|                     android:padding="@dimen/player_main_buttons_padding" |                     android:padding="@dimen/player_main_buttons_padding" | ||||||
|                     android:scaleType="fitCenter" |                     android:scaleType="fitCenter" | ||||||
|                     android:visibility="gone" |                     android:visibility="gone" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Stypox
					Stypox