开发者

Getting Button in Android Search Dialog

how can I access the button on the left in androids search dialog?

http://developer.android.com/images/search/search-ui.png

In the picture above I want to set an onClickListener onto the books i开发者_JS百科con.

Thanks in advance


Unfortunately, there's no way to do it. You could get to the layout and its elements if you had necessary ids. But the ids of the elements used by SearchDialog are not public, that's why you don't have access to them.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜