[android-developers] Re: Spinner in ListView Activity
Hi, I tried to set the width of the spinner but not using visibility=GONE and it works. Spinner android:id=@+id/spinner1 android:layout_height=wrap_content android:layout_width=0dip / -- 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: Spinner in ListView Activity
Seems like you're not setting the adapter on the spinner but on the list, is this intended? (I'm assuming you are extending ListActivity) this would explain why onItemSelected isn't called. -Dario On Oct 18, 2:18 pm, SImplyG2010 thomas.sheppar...@gmail.com wrote: Sorry Bret I do not understand in which onClickListener? The button or the onItemSelected listener? On Oct 18, 1:31 pm, Bret Foreman bret.fore...@gmail.com wrote: Are you calling the super of the onClick method in the onClickListener? -- 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: Spinner in ListView Activity
Are you calling the super of the onClick method in the onClickListener? -- 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: Spinner in ListView Activity
Sorry Bret I do not understand in which onClickListener? The button or the onItemSelected listener? On Oct 18, 1:31 pm, Bret Foreman bret.fore...@gmail.com wrote: Are you calling the super of the onClick method in the onClickListener? -- 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