What parameters to use with android inflater
<p>I have created a listview using an online tutorial where I am trying to create a multicolumned listview. All tutorials have told me I need an inflater but none show what to put or should be in the corresponding xml file. Could anyone please shed some light on this.</p>

<p>I'm setting the listview in the oncreate method. I have the following method with an inflater:</p>

<pre><code> public boolean onCreateOptionsMenu(Menu menu) {
    // Inflate the menu; this adds items to the action bar if it is present.
    getMenuInflater().inflate(R.menu.menu_main, menu);
    return true;
}
</code></pre>

<p>But there is nothing in the menu_main.xml file.</p>

<p>Because it's multicolumned I have the listview in the main xml file like follows:</p>

<pre><code> &lt;LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@+id/currentChores"&gt;
&lt;ListView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/choreList"
    android:textSize="20dp"
    android:typeface="sans"
    android:layout_centerHorizontal="true"
    android:layout_below="@+id/currentChores"
    android:paddingBottom="10dp"
    android:paddingTop="50dp"&gt;
&lt;/ListView&gt;

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

<p>And then I made a seperate xml file for the columns called chore_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:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"&gt;

&lt;TextView
    android:id="@+id/chore_name"
    android:layout_width="1dp"
    android:layout_height="wrap_content"
    android:text="Chore"
    android:typeface="sans"
    android:textColor="#000000"
    android:layout_weight="1"
    android:gravity="center"
    android:textAppearance="?android:attr/textAppearanceMedium"  /&gt;
&lt;TextView
    android:id="@+id/child_name"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:text="Child"
    android:typeface="sans"
    android:textColor="#000000"
    android:layout_weight="1"
    android:gravity="center"
    android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
&lt;TextView
    android:id="@+id/point_value"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:text="Points"
    android:typeface="sans"
    android:textColor="#000000"
    android:layout_weight="1"
    android:gravity="center"
    android:textAppearance="?android:attr/textAppearanceMedium"   /&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p>And I'm trying to create this list view using the following line:</p>

<pre><code>mySimpleAdapter = new SimpleAdapter(Chores.this, chores, R.layout.chore_list, new String[]{"chore","child_name","points"},new int[]{R.id.chore_name,R.id.child_name,R.id.point_value });
list.setAdapter(mySimpleAdapter);
</code></pre>

<p>When I run this I can scroll further down the page which is telling me there is something there but I can't see anything</p>