android - How to get actionbar views objects? -


is there way can actionbar views object references. instance overflow view in order know coordinates on screen. have manage ugly solution is. menu item id

overflowview =((viewgroup)parent.findviewbyid(r.id.menu_id).getparent()).getchildat(2);

is there way can actionbar views object references.

only ones create yourself, via android:actionlayout , kin.

for instance overflow view in order know coordinates on screen.

your solution unlikely remain stable across android versions. may or may not work on actionbarsherlock. recommend find other solution whatever perceive problem not involve messing around internals of actionbar implementation.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -