Quiz 3: Media Quiz

Which of the following will fade out an ImageView in 2 seconds?
ImageView.alpha(0f).setDuration(2);
ImageView.fadeOut().setDuration(2000);
ImageView.animate().alpha(0f).setDuration(2000);
ImageView.animate().alpha(0f).setDuration(2);
Moving a view vertically requires a:
MoveUp
VerticalTranslation
TranslationYBy
Which line of code will set up a player for an online piece of audio?
MediaPlayer player = MediaPlayer.create(Uri.parse("http://www.example.com/test.mp3"));
MediaPlayer player = MediaPlayer.create(this, Uri.parse("http://www.example.com/test.mp3"));
MediaPlayer player = MediaPlayer.create(this, "http://www.example.com/test.mp3");
Once the player has been set up, the sound can be played with:
Player.start();
Player.play();
Player.boogie();
Which of the following will set the volume of the currently playing sound?
AudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, progress);
AudioManager.setVolume(AudioManager.STREAM_MUSIC, progress, 0);
AudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, progress, 0);
{"name":"Quiz 3: Media Quiz", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Which of the following will fade out an ImageView in 2 seconds?, Moving a view vertically requires a:, Which line of code will set up a player for an online piece of audio?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker