I've looked over the tutorials and can't seem to find the relevant info. I'm trying to duplicate similar setup as the default alarm clock in Android, where you add an alarm. It looks a lot like a customized ListView. Looking at the code it seems that you can apply a specific layout to a ListView, but it applies to all the entries in the ListView. Any idea how would one go about assigning different layouts to different entries in a ListView. For example one line that is just text, another that is text and on/off button.
Any pointers you could share are appreciated.