Hello
I am using VideoView (Audio library) to display videos.
I would like to center it on the device. But I do not have information on height and width of the video.
By doing this:
Code:
vv.Initialize("vv")
vv.LoadVideo(Main.DirActual, Main.NombreUnaImagen)
DoEvents
Activity.AddView(vv, 0, 0, 100%x, 100%y)
Log("vv.Height "& vv.Height)
Log("vv.Width "& vv.Width)
Any idea?
thanks
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1U5k7da
via IFTTT
Aucun commentaire:
Enregistrer un commentaire