Am playing 4 rtsp links in a single screen using videoview in audio lib,now I have to full screen the video when i touch the video, so i created 4 panels for 4 videoviews ,when i play i can see only one panel cant see 3 other videos...if there is a panel beneath videoview i can simply write code inside "panel_click"..so thats my first problem(I wanna to get some thing linke v4.click)...
===================================================
one other thing is that
in above code am trying to make v4 to fullscreen when i press a button...here v1,v2,v3 videoviews setlayout function is making the video area into a smaller space and its working immediately....but if i simply gave "v4.SetLayout(0%x,0%x,100%x,100%y)" this does not works....But it works if i remove v4 view and connect once again...but v1,v2,v3 videoviews does not need to remove to make it smaller....... So the problem is "setlayout" can immediately make video to a smaller space ..but making it to a larger space is not working without reconnecting agin
above code is working good but removing view and adding it again make a lot of time to connect to video again because am streaming rtsp links from internet..
Sorry for long post..
===================================================
one other thing is that
B4X:
Sub button5_click
v1.SetLayout(51%x, 53%y,50%x,15%y)
v2.SetLayout(0%x, 68%y,50%x,15%y)
v3.SetLayout(51%x, 68%y,50%x,15%y)
Activity.Invalidate
CallSubDelayed2(Me, "muteVolume", v1)
CallSubDelayed2(Me, "muteVolume", v2)
CallSubDelayed2(Me, "muteVolume", v3)
v4.pause
v4.RemoveView
Activity.AddView(v4, 0%x, 0%y, 100%x,100%y)
v4.SetLayout(0%x,0%x,100%x,100%y)
Activity.Invalidate
v4.play
CallSubDelayed2(Me, "fullVolume", v4)
End Sub
in above code am trying to make v4 to fullscreen when i press a button...here v1,v2,v3 videoviews setlayout function is making the video area into a smaller space and its working immediately....but if i simply gave "v4.SetLayout(0%x,0%x,100%x,100%y)" this does not works....But it works if i remove v4 view and connect once again...but v1,v2,v3 videoviews does not need to remove to make it smaller....... So the problem is "setlayout" can immediately make video to a smaller space ..but making it to a larger space is not working without reconnecting agin
above code is working good but removing view and adding it again make a lot of time to connect to video again because am streaming rtsp links from internet..
Sorry for long post..