I want to create a bar with different widgets like this ..

Instead of two Chinese box i want to show a spinner and a edittext area.And at the bottom of this bar there is a listview.
any One know how to create this?
What I tried…
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<Spinner
android:id="@+id/spinner"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:prompt="@string/country"
android:layout_weight="1"/>
<EditText
android:id="@+id/edittextserach"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Search here"
android:layout_weight="1"
/>
<ImageButton
android:id="@+id/imagesearch"
android:src="@drawable/search_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
android:layout_weight="0"
android:layout_marginBottom="8dip"
android:paddingBottom="12dip"/>
</LinearLayout>
<ListView
android:id="@+id/android:list"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />"
</LinearLayout>
I know my layout is strange but i can’t find any tutorial on this. I am new to this type of layouts.

Try restricting your EditText like this
Choose maxWidth which make sense. And enabling scrollHorizontally will make sure it says in single line even after typing long text.
Complete layout for EditText: