T Troberg Well-Known Member Licensed User Longtime User Oct 22, 2014 #1 I'd like a black background in the VideoView, so I get nice, black borders instead of the current grey (much better if running on a projector). Well, it has a Background property and a Color property. However, if I change these, I still get my grey borders, but the video becomes black. Not exactly the behavior I wanted... Is this doable at all, and in that case, how?
I'd like a black background in the VideoView, so I get nice, black borders instead of the current grey (much better if running on a projector). Well, it has a Background property and a Color property. However, if I change these, I still get my grey borders, but the video becomes black. Not exactly the behavior I wanted... Is this doable at all, and in that case, how?
moster67 Expert Licensed User Longtime User Oct 22, 2014 #2 Haven't tried but perhaps you can assign the videoview to a panel and then set background color of the panel?? Upvote 0
Haven't tried but perhaps you can assign the videoview to a panel and then set background color of the panel??
mangojack Expert Licensed User Longtime User Oct 22, 2014 #3 agree with monster .. currently playing with VideoView .. maybe play with something like this .. Code: Copy Dim Panel1 AS Panel Panel1.Initialize("") Panel1.Color = Colors.Red Activity.AddView(Panel1, 0, 0, 100%x, 100%y) Dim VV as VideoView VV.Initialize("vv") Panel1.AddView(VV,10%x,10%y,80%x,80%y) Upvote 0
agree with monster .. currently playing with VideoView .. maybe play with something like this .. Code: Copy Dim Panel1 AS Panel Panel1.Initialize("") Panel1.Color = Colors.Red Activity.AddView(Panel1, 0, 0, 100%x, 100%y) Dim VV as VideoView VV.Initialize("vv") Panel1.AddView(VV,10%x,10%y,80%x,80%y)
T Troberg Well-Known Member Licensed User Longtime User Oct 22, 2014 #4 Thanks, worked nicely! Upvote 0
T Troberg Well-Known Member Licensed User Longtime User Oct 23, 2014 #5 Even easier solution: Set activity background to black. Upvote 0
mangojack Expert Licensed User Longtime User Oct 23, 2014 #6 lol .. never gave it a thought. Upvote 0
T Troberg Well-Known Member Licensed User Longtime User Oct 23, 2014 #7 No hard feelings, you gave me the idea. It didn't even occur to me at first that the background was transparent... Upvote 0
No hard feelings, you gave me the idea. It didn't even occur to me at first that the background was transparent...