I am making a login screen for my Android app and was wondering how can I use a video as a background rather than having an image or simple colors?
I want to make it
You just need a few steps to set the video as the background of your app.
VideoView videoview = (VideoView) findViewById(R.id.videoview); Uri uri = Uri.parse("android.resource://"+getPackageName()+"/"+R.raw.test); videoview.setVideoURI(uri); videoview.start();I have made a video that explains how to create JOOX login screen in android which looks more or less like the Spotify app. Feel free to check it out and let me know if it helps :)
https://youtu.be/tPeDn18FrGY