Ask your own question, for FREE!
Computer Science 13 Online
OpenStudy (mattfeury):

Is anybody familiar with Android programming? I'm trying to create what's apparently a pretty complex, dynamic layout.

OpenStudy (mattfeury):

In one line, I want to dynamically create a Preferences list. A mockup is attached that probably explains better than words can. Essentially, I want a list where items can be added/removed dynamically by the user, and each item has configurable settings screen. So there are two keys here: Adding to the main preferences screen Starting an activityForResult when an item is pressed. This activity will show another preferences view (sliders, checkboxes, etc) where the user can manipulate these and then return the new values to be stored in a data structure.

OpenStudy (anonymous):

If nobody answers this one, then try asking on http://stackoverflow.com .

OpenStudy (mattfeury):

Yea, I tried that actually first, heh. No luck there either. For others curious, I just discovered the ListViews can set onItemClick listeners, so that seems like a solid approach. I suppose I was just looking for the wrong keywords: http://developer.android.com/resources/tutorials/views/hello-listview.html This was helpful as well: http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/

OpenStudy (farmdawgnation):

Custom views FTW.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!