I have looked at most of the questions on this subject and there does not seem to be a definitive answer. I have three spinners in different rows of a table view. Using the weight attribute, the cells in the table and,consequently, the spinners and text views all have the same width.
However, when a spinner is clicked, the drop-down list appears at full width and covers the whole table. There must be a way of restricting the width of the list. It only holds a number with a maximum of 4 digits after all.
I have seen a note on R.attr.dropDownWidth which looks as though it may help but I have no idea how to implement this method, let alone if it will actually work.
Any help on this or another method that will restrict the width of the drop-down to about 100 dip will be really appreciated - especially if sample code is included.
Thanks,
Alan ...