android - Touch bounds for custom buttons in a circle menu -


i'll need implement ui reflects layout of real object. below layout client wants. each black block button, need custom drawable, listeners, states, etc.

i'd use custom implementation of button widget, far know accept rectangular touch targets , laying them out tricky.

enter image description here

what use achieve layout?
please note: 2 central button should semicircle cutted in half (with padding between 2), not strange shieldy shape, i'm not photoshop.

edit: suggested in question use touchlistener on layout , fake click on right button. main problem solution i'll need know bounds of drawable, not rectangular ones of button's bounding box (that rectangular). how that?


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -