[android-developers] SeekBar

2009-04-22 Thread lggaleon

Hello , everybody!

I want to make my own Seek Bar. When I try to override
onProgressRefresh method,

Eclipse give me an error: the method onProgressRefresh is undefined
for the type SeekBar.

I cheked listing SeekBar.java and this method is in. Any ideas why
this happend?

Thanks in advance.


--~--~-~--~~~---~--~~
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: SeekBar

2009-04-22 Thread lggaleon



On Apr 22, 12:24 pm, Mark Murphy mmur...@commonsware.com wrote:
 lggaleon wrote:
  Hello , everybody!

  I want to make my own Seek Bar. When I try to override
  onProgressRefresh method,

  Eclipse give me an error: the method onProgressRefresh is undefined
  for the type SeekBar.

  I cheked listing SeekBar.java and this method is in. Any ideas why
  this happend?

 I do not see onProgressRefresh in the 1.1 SDK, and the method is
 declared as package-private in the current source code. Hence, it is not
 available to SDK developers.

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

 _The Busy Coder's Guide to Android Development_ Version 2.0 Available!

Thank you very much.
That's too bad. So,if I want to make my own seek bar, I need copy and
modify AbsSeekBar and SeekBar
classes? Doesn't make any sense for me
--~--~-~--~~~---~--~~
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: SeekBar

2009-04-22 Thread lggaleon



On Apr 22, 5:21 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
 What are you trying to accomplish?

 Maybe you don't need to override onProgressRefresh.
 Maybe you can implement your own SeekBar.OnSeekBarChangeListener and
 register this listener with your seek-bar
 (seekbar.setOnSeekBarChangeListener(...)).

 On Apr 22, 5:03 pm, lggaleon lggal...@gmail.com wrote:

  On Apr 22, 12:24 pm, Mark Murphy mmur...@commonsware.com wrote:

   lggaleon wrote:
Hello , everybody!

I want to make my own Seek Bar. When I try to override
onProgressRefresh method,

Eclipse give me an error: the method onProgressRefresh is undefined
for the type SeekBar.

I cheked listing SeekBar.java and this method is in. Any ideas why
this happend?

   I do not see onProgressRefresh in the 1.1 SDK, and the method is
   declared as package-private in the current source code. Hence, it is not
   available to SDK developers.

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

   _The Busy Coder's Guide to Android Development_ Version 2.0 Available!

  Thank you very much.
  That's too bad. So,if I want to make my own seek bar, I need copy and
  modify AbsSeekBar and SeekBar
  classes? Doesn't make any sense for me- Hide quoted text -

  - Show quoted text -

I try to make  universal seek bar, where I can easy change all
parameters(graphic elements, orientation, min and max values etc.)
--~--~-~--~~~---~--~~
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: SeekBar

2009-04-22 Thread lggaleon

That's what I'm gonna do - create my own seek bar, but I don't want to
invent bicycle, so I'm gonna use
existing code from Android core

On Apr 22, 7:08 pm, Raphael r...@android.com wrote:
 On Wed, Apr 22, 2009 at 2:47 PM, lggaleon lggal...@gmail.com wrote:
  I try to make  universal seek bar, where I can easy change all
  parameters(graphic elements, orientation, min and max values etc.)

 IIRC you can customize most of the drawables used for the graphic elements.

 If you really want to customize *everything*, wouldn't it be just
 easier to make your own seekbar?

 R/
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---