1.加入TextureView支援
2.將取得畫面寬高的計算方式改成不使用baseView.post
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user