Buttons and Layout bot loaded when I call ListActivity from Activity
<p>I have problem when I call ListActivity from  Activity. It gives me an error when I call just following drawing strong Code part from activity it works and gives me an List but I have a layout which consist of buttons and List.  Error case is that when I call ListView all of block codes. It gives me an error.</p>

<pre><code> super.onCreate(savedInstanceState);

    **setListAdapter(new ArrayAdapter&lt;String&gt;(this,android.R.layout.simple_list_item_1, COUNTRIES));
    getListView().setTextFilterEnabled(true);**

     setContentView(R.layout.activity_your_budget_categories);

    //Main Sayfasına geri Gider

    Button btn_ur_udget=(Button)findViewById(R.id.btnYourBudget);
    btn_ur_udget.setOnClickListener(new View.OnClickListener() {

        public void onClick(View v) 
        {
            Intent intent = new Intent();
            setResult(RESULT_OK, intent);
            finish();               
        }
    }); 

     Button bntAddCat= (Button)findViewById(R.id.btnAddCategory);

        bntAddCat.setOnClickListener(new View.OnClickListener() {

            public void onClick(View v)
            {
                 Intent myIntent = new Intent(YourBudgetCategory.this, YourBudgetNewCategory.class);
                 YourBudgetCategory.this.startActivity(myIntent);

            }
        });
</code></pre>
