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
, listener
s, state
s, etc.
i'd use custom implementation of button
widget, far know accept rectangular touch targets , laying them out tricky.
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
Post a Comment