这个简单哇 <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" />
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" />
解决方案 »
- android 利用Intent传值的问题
- 请问如何屏蔽Android音量加减时弹出的对话框?
- Android WebView访问路由192.168.1.1认证登录框无法弹出问题
- 关于android源码Gallery3D的问题
- 怎么添加有米广告?
- 一个拖动的动画效果问题(不是Gallery)
- 刚才程序启动报错,貌似缺少什么,请问什么问题啊
- 跪求Android飞行棋的源码~~
- 长按ImageButton触发的录音事件
- 安装Android studio以后创建程序加载以后出现这种的是什么问题?求大神赐教
- 各位大虾,我的eclipse会自动关闭啊。。为什么?
- 在android中我安装了某apk,然后我把它给卸载掉。在程序中用说明可以知道该apk不在了呢?
<?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>
如果将进度条显示为EditText的背景色,该如何实现?