Custom ActionView can't be clicked in 3.5.0 release #131
Comments
Moreover, it has no separator now... I guess something is wrong with MenuItem.setActionView logic. |
Any chance this bug will be fixed / looked into (or at least this issue commented) any time soon? Looks like showstopper severity to me. Maybe custom action views aren't used in many projects, but if they ARE used, 3.5.0 breaks project completely. |
Separator logic was changed to match ICS. Looking into this now... |
It's not working with both pre-ICS (Nexus S 2.2.3) and ICS (Galaxy Nexus 4.0.1) devices, btw. |
Yeah I just added a demo for it. It appears you have to handle clicks yourself on 4.0+ and since ABS 3.5's action menu is ported from the ICS it behaves the same. |
Not sure how it will work on 4.0+, but I wasn't able to capture click event on pre-ICS device for some reason, making the whole idea of using custom action views in ABS meaningless. Besides, separators are still bugged. I guess the best idea would be to avoid custom action views at all... Will look into your demo though, thanks. |
Just noticed - with 3.5.0 version I can't click custom ActionView:
ActionBarCheckoutView is just a subclass of LinearLayout containing image and some text field. Its not clickable with latest version. In previous version everything was fine.
The text was updated successfully, but these errors were encountered: