creating a small selection list

Put your problem here if it does not fit any of the other categories.

creating a small selection list

Postby cybohemia » Wed Mar 19, 2008 6:38 pm

Hi! I'm trying to create a selection box that contains any number of items (some generated programmatically) but only show five, allowing the user to scroll to see the rest. The thing is, I want this to be in the middle of a linear layout, with text editing boxes and other things above and below it - all ideally within one screenfull (for the emulator screen anyway).

I tried using a ListView but wasn't able to figure out how to shrink the font, limit the number of items displayed and associate a scrollbar just for it. I'm starting to fumble around with building one out of buttons but that seems like a long way of doing it.

Does anyone know if there a more direct way?

Thanks!
cybohemia
Junior Developer
Junior Developer
 
Posts: 15
Joined: Sun Mar 02, 2008 12:21 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot] and 16 guests