Hi all,
The default drop down view of the spinner occupies the entire
width of the screen. I tried to create a custom spinner which occupies
only some portion of the width of the screen, but I'm unable to do. I
want to see the objects behind the drop down. Here is what i tried, I
changed the drop down view as,
adapter.setDropDownViewResource(R.layout.simple_spinner_dropdown_item);
instead of
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
In the layout.simple_spinner_dropdown_item.xml file I specified the
width, but it still occupies the entire width. Can any one help. Is
there any other view which is similar to spinner but I should be able
to see the background objects like a alert dialog. Is it really
possible? Please reply.
Thank you.
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en