Shiba Das

Results 3 comments of Shiba Das

private View getDrawerView(Toolbar toolbar) { for (int i = 0; i < toolbar.getChildCount(); i++) { if (toolbar.getChildAt(i) instanceof ImageButton) return toolbar.getChildAt(i); } return null; } this code works

> > > I figured it out. > Just follow these steps: > > 1. Create all the builders in Stack order. So the first MaterialIntroView should be the last...

private View getDrawerView(Toolbar toolbar) { for (int i = 0; i < toolbar.getChildCount(); i++) { if (toolbar.getChildAt(i) instanceof ImageButton) return toolbar.getChildAt(i); } return null; } this code works, collected from...