开发者

Android Floating EditBox

I have an OptionMenu which has single option in it named "Search". W开发者_运维百科hen the search option is clicked, it should dynamically add a EditText at the top of Activity window like it has in WebView (browser address bar) so users could search something in my application.

After there would be EditBox, one can write inside it. I also want to have some OnTextChanged like event of that EditBox so do you think it's also available with that View?


I made it myself. I added an EditText on the screen with setting as hidden and on button click made it visible. It worked like a charm.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜