<LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:addStatesFromChildren="true"
        android:gravity="center_vertical"
        android:background="@android:drawable/edit_text">
        <AutoCompleteTextView
         android:id="@+id/auto"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:completionThreshold="2"
            android:singleLine="true"
            android:background="@null"
        />
        <ImageButton
         android:id="@+id/btn_search"
            style="@android:style/Widget.Button.Inset"
            android:scaleType="fitCenter"
            android:src="@drawable/search"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
        />
        
   
    </LinearLayout>

일단 코드는 이렇습니다.
그리고 실제 에뮬실행화면은 사진과 같은데요.
제가 궁금한건 사진에도 나오지만, 버튼을 클릭하면 텍스트뷰까지 전체가 클릭되는 것처럼 보입니다.(2번째사진)
버튼을 클릭하면 버튼만 클릭되게 보이게는 안되나요-_-;


nm.png cl.png