Create ArrayAdapter
<p>I need to do to ArrayAdapter for ListView that will contain the image and the two fields, but I can not figure out how to do it.
I can try make this</p>

<pre><code>ArrayAdapter adapter = new ArrayAdapter(this, R.layout.list, new ArrayList&lt;ArrayList&lt;string&gt;&gt;{ 
         tmp,         
                 wallResults.get("text"),        
                 }, new int[]{    
                 R.id.text1,      
                 R.id.text2});
</code></pre>

<p>But it's not work</p>

<p>This is list.xml</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="wrap_content"
  android:orientation="vertical"
  android:layout_height="wrap_content"&gt;

   &lt;LinearLayout
  android:layout_width="265dip"
  android:orientation="vertical"
  android:layout_height="wrap_content"&gt;

  &lt;TextView android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:id="@+id/text1"
  android:textSize="25dip"
  android:text="This is text1"/&gt;

  &lt;TextView android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:id="@+id/text2"
  android:text="This is text2"/&gt;

  &lt;ImageView android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:id="@+id/text2"
  android:text="This is text2"/&gt;


  &lt;/LinearLayout&gt;


&lt;/LinearLayout&gt;
</code></pre>
