I have a sound issue with my android app. A little bit hard to explain in english... Hope somebody will understand anyway :
A soundtrack ("theme") starts when the menu layout starts.
In this menu layout, there is several buttons going to other layouts. Of course, when the user want to go back to the menu, the music should not start twice. So I did this :
But in fact it's only working when the game is offline. I mean, if the system opens a new window or connect with google play leaderboards, once coming back to the menu layout, the system starts the sound a second time. I have no idea what to do... Does somebody know a better expression for that ?