How to fully mimic Action item view in the toolbar, for a customized one?
问题 Background I have an action item that's not quite standard. It has its own layout, because I've failed to create a nice Drawable for it (written about it here). Basically, it's just a TextView with a background that wraps its short text that it shows. The problem Sadly I can't find a way of fully mimic it to look like normal ones: The ripple effect (and probably the simple clicking effect on older versions too) doesn't have the same color and size. There isn't a toast for when I long click on