B bluedude Well-Known Member Licensed User Longtime User Jan 16, 2015 #1 When opening a video file I want to be able to center it. Is there a way to do it without knowing the width of the video? Even if I know the width i'm not sure how to position it in the middle because the video with is in pixels and not in dips. Please help. Last edited: Jan 16, 2015
When opening a video file I want to be able to center it. Is there a way to do it without knowing the width of the video? Even if I know the width i'm not sure how to position it in the middle because the video with is in pixels and not in dips. Please help.
Erel B4X founder Staff member Licensed User Longtime User Jan 18, 2015 #2 Check this thread: https://www.b4x.com/android/forum/threads/center-video-with-videoview-solved.40419/ Upvote 0
Check this thread: https://www.b4x.com/android/forum/threads/center-video-with-videoview-solved.40419/