[android-developers] Re: dynamically setting drawSelectorOnTop

2009-05-14 Thread Romain Guy

Oops my bad, you were talking about *Spinner*. Spinner does NOT
support android:drawSelectorOnTop, so there's no equivalent Java API.
Setting this attribute in XML has absolutely no effect (in particular
because a Spinner does not have a selector.)

On Wed, May 13, 2009 at 7:59 PM, damnesia r.spencer.wh...@gmail.com wrote:

 Yeah, I saw it in the documentation online but when I do
 spinner.setDrawSelectorOnTop(true); I get The method
 setDrawSelectorOnTop(boolean) is undefined for the type Spinner.

 I am using Android android-sdk-linux_x86-1.1_r1. Do I need to upgrade?

 Thank you for your time.


 On May 13, 2:59 pm, Romain Guy romain...@google.com wrote:
 It's in the documentation :) Hint, look for setDrawSelectorOnTop(boolean).

 On Wed, May 13, 2009 at 2:53 PM, damnesia r.spencer.wh...@gmail.com wrote:

  Is it possible to dynamically set the drawSelectorOnTop attribute on a
  Spinner instead of having to do it in the layout XML?

 --
 Romain Guy
 Android framework engineer
 romain...@android.com

 Note: please don't send private questions to me, as I don't have time
 to provide private support.  All such questions should be posted on
 public forums, where I and others can see and answer them
 




-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~-~--~~~---~--~~
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: dynamically setting drawSelectorOnTop

2009-05-14 Thread damnesia

ok. it turns out that the real problem was TableRow.LayoutParams(2,
LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT). i changed it to
TableRow.LayoutParams(2) and it works as expected.

thanks again.

On May 13, 11:10 pm, Romain Guy romain...@google.com wrote:
 Oops my bad, you were talking about *Spinner*. Spinner does NOT
 support android:drawSelectorOnTop, so there's no equivalent Java API.
 Setting this attribute in XML has absolutely no effect (in particular
 because a Spinner does not have a selector.)



 On Wed, May 13, 2009 at 7:59 PM, damnesia r.spencer.wh...@gmail.com wrote:

  Yeah, I saw it in the documentation online but when I do
  spinner.setDrawSelectorOnTop(true); I get The method
  setDrawSelectorOnTop(boolean) is undefined for the type Spinner.

  I am using Android android-sdk-linux_x86-1.1_r1. Do I need to upgrade?

  Thank you for your time.

  On May 13, 2:59 pm, Romain Guy romain...@google.com wrote:
  It's in the documentation :) Hint, look for setDrawSelectorOnTop(boolean).

  On Wed, May 13, 2009 at 2:53 PM, damnesia r.spencer.wh...@gmail.com 
  wrote:

   Is it possible to dynamically set the drawSelectorOnTop attribute on a
   Spinner instead of having to do it in the layout XML?

  --
  Romain Guy
  Android framework engineer
  romain...@android.com

  Note: please don't send private questions to me, as I don't have time
  to provide private support.  All such questions should be posted on
  public forums, where I and others can see and answer them

 --
 Romain Guy
 Android framework engineer
 romain...@android.com

 Note: please don't send private questions to me, as I don't have time
 to provide private support.  All such questions should be posted on
 public forums, where I and others can see and answer them
--~--~-~--~~~---~--~~
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: dynamically setting drawSelectorOnTop

2009-05-13 Thread Romain Guy

It's in the documentation :) Hint, look for setDrawSelectorOnTop(boolean).

On Wed, May 13, 2009 at 2:53 PM, damnesia r.spencer.wh...@gmail.com wrote:

 Is it possible to dynamically set the drawSelectorOnTop attribute on a
 Spinner instead of having to do it in the layout XML?

 




-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~-~--~~~---~--~~
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: dynamically setting drawSelectorOnTop

2009-05-13 Thread damnesia

Yeah, I saw it in the documentation online but when I do
spinner.setDrawSelectorOnTop(true); I get The method
setDrawSelectorOnTop(boolean) is undefined for the type Spinner.

I am using Android android-sdk-linux_x86-1.1_r1. Do I need to upgrade?

Thank you for your time.


On May 13, 2:59 pm, Romain Guy romain...@google.com wrote:
 It's in the documentation :) Hint, look for setDrawSelectorOnTop(boolean).

 On Wed, May 13, 2009 at 2:53 PM, damnesia r.spencer.wh...@gmail.com wrote:

  Is it possible to dynamically set the drawSelectorOnTop attribute on a
  Spinner instead of having to do it in the layout XML?

 --
 Romain Guy
 Android framework engineer
 romain...@android.com

 Note: please don't send private questions to me, as I don't have time
 to provide private support.  All such questions should be posted on
 public forums, where I and others can see and answer them
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---