开发者

Getting Button in Android Search Dialog

开发者 https://www.devze.com 2023-02-26 03:08 出处:网络
how can I access the button on the left in androids search dialog? http://developer.android.com/images/search/search-ui.png

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

精彩评论

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