1. Check out our companion app, Forums for Android! Download from Google Play

How do you show more than one layout in a listview?

Discussion in 'Application Development' started by ChicoFox, Apr 22, 2010.

  1. ChicoFox

    ChicoFox Active Member
    Thread Starter

    Nov 18, 2009
    Witch City
    Is this possible other than using only one layout and choosing which views in it to make visible and invisible based on a flag? Since you have to specify a layout in the constructor of the array adapter, I see this as the only way?

    For example, say I want to have an editable text box and button in the first row of the listview, then have just a textview in the remaining rows.

    Thanks for any help.


Share This Page