开发者

Android add a submenu on my View's onclick, how?

开发者 https://www.devze.com 2023-03-21 20:01 出处:网络
Is there a way to show up a menu, when i click on any 开发者_开发技巧View? thanks, Leslieyes you can open menu on any click of view

Is there a way to show up a menu, when i click on any 开发者_开发技巧View?

thanks,

Leslie


yes you can open menu on any click of view

just write openOptionsMenu(); in setOnClickListener of your view

0

精彩评论

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