diff --git a/UMC_6th/app/src/main/java/com/example/umc_6th/SongActivity.kt b/UMC_6th/app/src/main/java/com/example/umc_6th/SongActivity.kt index b6133fd..abcc18b 100644 --- a/UMC_6th/app/src/main/java/com/example/umc_6th/SongActivity.kt +++ b/UMC_6th/app/src/main/java/com/example/umc_6th/SongActivity.kt @@ -40,10 +40,10 @@ class SongActivity : AppCompatActivity() { // } binding.songMiniplayerIv.setOnClickListener{ - setPlayerStatus(false) + setPlayerStatus(true) } binding.songPauseIv.setOnClickListener{ - setPlayerStatus(true) + setPlayerStatus(false) } } @@ -75,11 +75,11 @@ class SongActivity : AppCompatActivity() { timer.isPlaying = isPlaying if(isPlaying){ - binding.songMiniplayerIv.visibility= View.VISIBLE - binding.songPauseIv.visibility = View.GONE - } else{ - binding.songMiniplayerIv.visibility=View.GONE + binding.songMiniplayerIv.visibility= View.GONE binding.songPauseIv.visibility = View.VISIBLE + } else{ + binding.songMiniplayerIv.visibility=View.VISIBLE + binding.songPauseIv.visibility = View.GONE } }