这个简单哇     <EditText 
android:id="@+id/edit_account"
android:background="@drawable/edit_login" 
android:saveEnabled="true" 
android:layout_width="fill_parent"
android:layout_height="wrap_content" 
 />
                       <ImageButton 
android:id="@+id/ImageButton02"
android:background="@drawable/more_select"
android:layout_width="wrap_content"
android:layout_height="wrap_content" 
android:layout_marginRight="1.0dip"
android:layout_alignTop="@id/login_edit_account"
android:layout_alignRight="@id/login_edit_account"
android:layout_alignBottom="@id/login_edit_account" />

<ImageButton 
android:id="@+id/ImageButton03"
android:background="@drawable/more_select"
android:layout_width="wrap_content"
android:layout_height="wrap_content" 
android:layout_marginRight="18.0dip"//大概图片宽
android:layout_alignTop="@id/edit_account"
android:layout_alignRight="@id/ImageButton02"
android:layout_alignBottom="@id/edit_account" />

解决方案 »

  1.   

    来个完整的
    <?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="fill_parent"
        >
        <RelativeLayout android:id="@+id/RelativeLayout02"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"  

    >
    <EditText
    android:id="@+id/myEditText"
        android:layout_width="fill_parent" 
        android:layout_height="wrap_content" 
        android:text="@string/hello"
        />
        <ImageButton 
    android:id="@+id/ImageButton02"
    android:background="@drawable/more_select"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" 
    android:layout_marginRight="1.0dip"
    android:layout_alignTop="@id/myEditText"
    android:layout_alignRight="@id/myEditText"
    android:layout_alignBottom="@id/myEditText" />

    <ImageButton 
    android:id="@+id/ImageButton03"
    android:background="@drawable/more_select"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" 
    android:layout_marginRight="18.0dip"
    android:layout_alignTop="@id/myEditText"
    android:layout_alignRight="@id/ImageButton02"
    android:layout_alignBottom="@id/myEditText" />
     </RelativeLayout>
    </LinearLayout>
      

  2.   

    进一步请教:
    如果将进度条显示为EditText的背景色,该如何实现?
      

  3.   

    可以用FramleLayout实现不?把EditText设置为半透明的?