[android-developers] Re: how to avoid the showing of prev,next buttons of MediaController

2009-07-13 Thread tstanly
according to the link, it's impossible invisiable to the prev/next button, the referece of widget says: The previous and next buttons are hidden until setPrevNextListeners () has been called hidden is not invisible On 6月24日, 下午10時29分, Marco Nelissen marc...@android.com wrote: According

[android-developers] Re: how to avoid the showing of prev,next buttons of MediaController

2009-06-24 Thread Marco Nelissen
According to http://developer.android.com/reference/android/widget/MediaController.html, they will not be shown unless you call setPrevNextListener(). Have you tried not calling it? On Wed, Jun 24, 2009 at 6:16 AM, manoj manojkumar.m...@gmail.com wrote: Hi, I have implemented media player

[android-developers] Re: how to avoid the showing of prev,next buttons of MediaController

2009-06-24 Thread manoj
HI Macro, Thanks for your reply. I haven't called the setPrevNextListener(). I am sure. can you please try once and let me know whether it was shown or not. Thanks, Manoj. On Jun 24, 7:29 pm, Marco Nelissen marc...@android.com wrote: According

[android-developers] Re: how to avoid the showing of prev,next buttons of MediaController

2009-06-24 Thread manoj
Actually, I created a layout xml, and added the MediaController. On Jun 24, 7:45 pm, manoj manojkumar.m...@gmail.com wrote: HI Macro, Thanks for your reply. I haven't called the setPrevNextListener(). I am sure. can you please try once and let me know whether it was shown or not.

[android-developers] Re: how to avoid the showing of prev,next buttons of MediaController

2009-06-24 Thread Marco Nelissen
If you have your own custom layout for the MediaController, then just remove the prev/next buttons from it. On Wed, Jun 24, 2009 at 7:59 AM, manoj manojkumar.m...@gmail.com wrote: Actually, I created a layout xml, and added the MediaController. On Jun 24, 7:45 pm, manoj