VideoView black flash before and after playing

前端 未结 14 2213
谎友^
谎友^ 2020-12-09 04:04

I have a VideoView which I want to use to play a movieclip. I use it like this to play it and it works.

VideoView vv = new VideoView(this);
vv.setVideoURI(Ur         


        
14条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-09 04:24

    Why not using Styling and Themes

    Can you try this ? This might help

    colors.xml

    #00000000
    

    styles.xml

    
    

    To set a theme for all the activities of your application, open the AndroidManifest.xml file and edit the tag to include the android:theme attribute with the style name.

    
    

提交回复
热议问题