How can I get an Android MediaController to appear from layout xml?

前端 未结 7 1769
无人及你
无人及你 2020-12-28 11:10

I\'ve created a layout.xml file with the following XML, but I can\'t get the MediaController to appear at all.



        
7条回答
  •  悲哀的现实
    2020-12-28 12:07

    http://www.docstoc.com/docs/9811647/Media-on-the-Android-Platform

    This doc suggests you may need to extend the Controller to get the behaviour that you need.

    You could also show it for a very long time i suppose ;)

    I'm presently struggling to even get the controller to show then I press a button :\

    (also interesting how quickly google added this question to search results)

提交回复
热议问题