结合的EditText和Button? [英] Combining EditText and Button?

查看:200
本文介绍了结合的EditText和Button?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一些应用程序我看到一个EditText小部件结合右侧的按钮(如的搜索字段中Twitter的应用程序)。 如何创建一个小部件喜欢吗?

In some apps I see an EditText widget combined with a Button on the right side (e.g. the search field in the twitter app). How can I create a widget like that?

问候, 马可

推荐答案

我终于找到了解决办法。 下面是谷歌的人是怎么做的:<一href="http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/layout/search_bar.xml"相对=nofollow> search_bar.xml 感谢您的帮助!

I finally found a solution. Here's how the google guys did it: search_bar.xml Thanks for your help!

这篇关于结合的EditText和Button?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆