In the android documentation on the MediaController widget I read
Functions like show() and hide() have no effect when MediaController is created in an xml layout.
which points to the fact the the mediacontroller can be defined in the xml layout. As I want a controller which never hides and also doesn't take the focus so that it is possible to click buttons on the rest of the screen I tried to go the xml layout way. As I can't get this to work I am looking for an example on how to use MediaController by defining it in the layout xml.
Any hint highly appreciated