<LinearLayout.......................android:orientation="horizontal">
<EditText............../>
<ImageButton............/>
</LinearLayout>
这样布局貌似就可以达到你的要求了,当然其中省略的部分得靠你自己填咯。
<EditText............../>
<ImageButton............/>
</LinearLayout>
这样布局貌似就可以达到你的要求了,当然其中省略的部分得靠你自己填咯。
解决方案 »
- TableLayout如何按一次返回按钮就返回到上一页面。
- 百度api的问题
- android平台下如何获得类似su权限,要求非云中漫步的作法
- android 中,客户端信息(手机中信息)如何导入服务器端数据库??
- 高分求助,关于地图的初级问题。
- notifyDataSetChanged()不能更新listview,不知道怎么回事
- 求 android下非ROOT读取USB设备文件的方法
- android 4.0以后的版本中 MainActivity中自动生成的 一些方法还有内部类是用来干什么的
- Binary XML file line #51: Error inflating class <unknown>
- android google play 下载的包facebook 三方登录提示invalid hash key
- 急求!菜鸟求教关于编译NDK的问题,游戏移植android 在线等
- 删除gen目录下的所有内容,包括R.java后怎么重新生成R.java
--------------------------------------------
这样也不行,因为edittext的宽度是fill_parent,即使指定了imageview在edittext右边,imageView也是无法显示。
解决:imageView的定义要先于edittext,指定edittext在imageView的左边,这样就达到效果