MaterialIntroView
MaterialIntroView copied to clipboard
Intro for menuItem
Please, How to attach an intro to a menuItem ?
Hi @AbdelO07 I've made a pull request on this. In the meantime you can have a look at my repo. Here is the final result

Thanks for reply dude. that looks good (Y)
I solved the problem:
First, add this layoutChangeListener. It will fire two times, because the menu inflation
final View.OnLayoutChangeListener onLayoutChangeListener = new View.OnLayoutChangeListener() {
@Override
public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft,
int oldTop, int oldRight, int oldBottom) {
View mMenuSearchView = v.findViewById(R.id.menumain_configurarapi);
if (mMenuSearchView != null) {
mToolbar.removeOnLayoutChangeListener(this);
//Put here your intro logic
}
}
}
};