ok, thanks. My workaround was to simply grab the panel containing the
spinner and make it disappear.

                final TableRow s1Row = (TableRow) 
findViewById(R.id.spinner1_row);
                isRepeatedCheckBox
                                .setOnCheckedChangeListener(new 
OnCheckedChangeListener() {
                                        @Override
                                        public void 
onCheckedChanged(CompoundButton buttonView,
                                                        boolean isChecked) {
                                                
s1Row.setVisibility(isChecked?View.VISIBLE:View.GONE);
                                        }
                                });
Anil

On Oct 5, 11:32 am, Kostya Vasilyev <[email protected]> wrote:
>   Anil,
>
> Spinner background,
>
> spinner_background.xml
>
> located under
>
> android-sdk-windows\platforms\android-<version>\data\res\drawable
>
> has state selectors for state_pressed and state_focused.
>
> It does not have a selector for state_enabled="false".
>
> One way to fix this is to use your own drawable with the missing state
> selector added.
>
> -- Kostya
>
> 05.10.2010 20:27, Anil пишет:
>
>
>
> > Looked at your link - I don't think it's the same thing.
> > The spinner does get disabled - it just does not grey out.
> > -
> > Anil
> > ---------------------------------------
> > Please let us know if you know anyone with an unwanted pregnancy,
> > willing to place for adoption.http://longingtoadopt.com
>
> > On Oct 5, 10:04 am, TreKing<[email protected]>  wrote:
> >> On Tue, Oct 5, 2010 at 9:42 AM, Anil<[email protected]>  wrote:
> >>> Just wondered if it is a bug.
> >> Apparently<http://code.google.com/p/android/issues/detail?id=6648&q=spinner&cols...>
> >> .
>
> >> -------------------------------------------------------------------------------------------------
> >> TreKing<http://sites.google.com/site/rezmobileapps/treking>  - Chicago
> >> transit tracking app for Android-powered devices
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

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

Reply via email to