[android-developers] Re: Custom layout for MediaController

2009-09-27 Thread Mark Murphy

Using MediaPlayer and creating your own pop-up controller panel is not
that difficult. Here is an example:

http://github.com/commonsguy/vidtry

Marco Nelissen wrote:
 Other than enabling/disabling some of the standard buttons, no.
 
 
 On Sat, Sep 26, 2009 at 7:35 PM, brooke brooke.ma...@gmail.com wrote:
 But is there a way to simply modify the existing one?

 On Sep 26, 7:27 pm, Marco Nelissen marc...@android.com wrote:
 You could implement your own and make it look however you like.

 On Sat, Sep 26, 2009 at 7:19 PM, brooke brooke.ma...@gmail.com wrote:

 Hi Group -
 I'm trying to modify the default layout for the MediaController.  I'd
 like to remove the fastForward/fastRewind buttons and maybe do some
 resizing, etc.  I know it's possible to remove the buttons if I call
 the MediaController(Context, useFastForward) constructor, but is there
 any other way to change the layout of the controller?
 Please advise.
 Many thanks,
 Brooke
 
  


-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Need help for your Android OSS project? http://wiki.andmob.org/hado

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Custom layout for MediaController

2009-09-26 Thread Marco Nelissen

You could implement your own and make it look however you like.


On Sat, Sep 26, 2009 at 7:19 PM, brooke brooke.ma...@gmail.com wrote:

 Hi Group -

 I'm trying to modify the default layout for the MediaController.  I'd
 like to remove the fastForward/fastRewind buttons and maybe do some
 resizing, etc.  I know it's possible to remove the buttons if I call
 the MediaController(Context, useFastForward) constructor, but is there
 any other way to change the layout of the controller?

 Please advise.


 Many thanks,

 Brooke
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Custom layout for MediaController

2009-09-26 Thread brooke

But is there a way to simply modify the existing one?

On Sep 26, 7:27 pm, Marco Nelissen marc...@android.com wrote:
 You could implement your own and make it look however you like.

 On Sat, Sep 26, 2009 at 7:19 PM, brooke brooke.ma...@gmail.com wrote:

  Hi Group -

  I'm trying to modify the default layout for the MediaController.  I'd
  like to remove the fastForward/fastRewind buttons and maybe do some
  resizing, etc.  I know it's possible to remove the buttons if I call
  the MediaController(Context, useFastForward) constructor, but is there
  any other way to change the layout of the controller?

  Please advise.

  Many thanks,

  Brooke
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Custom layout for MediaController

2009-09-26 Thread Marco Nelissen

Other than enabling/disabling some of the standard buttons, no.


On Sat, Sep 26, 2009 at 7:35 PM, brooke brooke.ma...@gmail.com wrote:

 But is there a way to simply modify the existing one?

 On Sep 26, 7:27 pm, Marco Nelissen marc...@android.com wrote:
 You could implement your own and make it look however you like.

 On Sat, Sep 26, 2009 at 7:19 PM, brooke brooke.ma...@gmail.com wrote:

  Hi Group -

  I'm trying to modify the default layout for the MediaController.  I'd
  like to remove the fastForward/fastRewind buttons and maybe do some
  resizing, etc.  I know it's possible to remove the buttons if I call
  the MediaController(Context, useFastForward) constructor, but is there
  any other way to change the layout of the controller?

  Please advise.

  Many thanks,

  Brooke
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---