I'm trying to change the volume control in my app. So I found out that I have to use the "setVolumeControlStream"
function in the onCreate method. Now I have a fragment and its not changing anything. Some ideas to get this method work?
What I tried: getActivity().setVolumeControlStream(AudioManager.STREAM_MUSIC);