mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 07:13:00 +00:00 
			
		
		
		
	fix background button problem
This commit is contained in:
		| @@ -144,6 +144,7 @@ public class VideoItemDetailFragment extends Fragment { | ||||
|         TextView similarTitle = (TextView) activity.findViewById(R.id.detail_similar_title); | ||||
|         Button backgroundButton = (Button) | ||||
|                 activity.findViewById(R.id.detail_stream_thumbnail_window_background_button); | ||||
|         View thumbnailView = activity.findViewById(R.id.detail_thumbnail_view); | ||||
|         View topView = activity.findViewById(R.id.detailTopView); | ||||
|         Button channelButton = (Button) activity.findViewById(R.id.channel_button); | ||||
|  | ||||
| @@ -275,6 +276,14 @@ public class VideoItemDetailFragment extends Fragment { | ||||
|                 } | ||||
|             }); | ||||
|  | ||||
|             //todo: make backgroundButton handle this | ||||
|             thumbnailView.setOnClickListener(new View.OnClickListener() { | ||||
|                 @Override | ||||
|                 public void onClick(View v) { | ||||
|                     playVideo(info); | ||||
|                 } | ||||
|             }); | ||||
|  | ||||
|             if (info.channel_url != null && info.channel_url != "") { | ||||
|                 channelButton.setOnClickListener(new View.OnClickListener() { | ||||
|                     @Override | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Christian Schabesberger
					Christian Schabesberger