如何包含的EditText在appwidget像谷歌搜索小工具 [英] How to include edittext in appwidget like Google search widget
本文介绍了如何包含的EditText在appwidget像谷歌搜索小工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是想包括EDITTEXT在appwidget..later我才知道这是不可能包括的EditText
I was trying to include an editText in appwidget..later I came to know that it is not possible to include edittext
但是,如果我检查谷歌搜索appwiget我可以看到他们使用的是类似于EDITTEXT视图.. 我怎样才能创造这样的EditText的小部件视图
But if I check Google search appwiget I can see they are using a view similar to edittext.. How can I create a view like edittext for widget
推荐答案
我已经使用的TextView,而不是EditText上与自定义背景..和它的onClick将采取所需的屏幕..
这类似于Twitter和Facebook的搜索插件:)
I have used TextView instead of EditText with custom background.. and onClick it will take to the desired screen ..
This looks similar to Twitter and Facebook search widget :)
这篇关于如何包含的EditText在appwidget像谷歌搜索小工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文