Erel B4X founder Staff member Licensed User Longtime User Oct 8, 2025 #2 ExoPlayer - full screen feature This example demonstrates how you can add a full screen button to a video. Clicking on the button, starts a new landscape activity and it then uses the native switchTargetView method to reuse the same player in the new SimpleExoPlayerView. There is also some calculations involved with adding the... www.b4x.com Upvote 0
ExoPlayer - full screen feature This example demonstrates how you can add a full screen button to a video. Clicking on the button, starts a new landscape activity and it then uses the native switchTargetView method to reuse the same player in the new SimpleExoPlayerView. There is also some calculations involved with adding the... www.b4x.com
I invocker Active Member Oct 8, 2025 #3 Thank's I see your example but need it without landscape use it in portrait like the given picture Upvote 0
I invocker Active Member Oct 8, 2025 #4 i fix it by adding B4X: Dim jo As JavaObject = SimpleExoPlayerView1 jo.RunMethod("setResizeMode", Array(2)) ' 0 = FIT, 1 = FIXED_WIDTH, 2 = FIXED_HEIGHT, 3 = FILL, 4 = ZOOM or set it manually with change from fit to FIXED_HEIGHT Upvote 0
i fix it by adding B4X: Dim jo As JavaObject = SimpleExoPlayerView1 jo.RunMethod("setResizeMode", Array(2)) ' 0 = FIT, 1 = FIXED_WIDTH, 2 = FIXED_HEIGHT, 3 = FILL, 4 = ZOOM or set it manually with change from fit to FIXED_HEIGHT
I invocker Active Member Oct 9, 2025 #5 but it not show as well is their other method or other player for b4a Upvote 0