1.加入TextureView支援

2.將取得畫面寬高的計算方式改成不使用baseView.post
This commit is contained in:
Raymond Yang
2023-05-22 09:43:53 +08:00
parent 02a26445be
commit 8449706b64
5 changed files with 179 additions and 65 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
android:background="@drawable/bg_video_view"
android:outlineProvider="background">
<SurfaceView
<TextureView
android:id="@+id/videoView"
android:layout_width="match_parent"
android:layout_height="match_parent"