I want to access toolbar to get text from EditText child of toolbar. I cannot directly access it, so i tried to get toolbar first.
I have tried several codes nothing is giving me toolbar.
#1
Toolbar toolbar =(Toolbar) getActivity().findViewById(R.id.toolbar);
#2
AppCompatActivity act...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.