Answers for "android kotlin toolbar fragments"

3

toolbar in fragment android kotlin

((ActionBarActivity)getActivity()).setSupportActionBar(mToolbar);
if you are using AppCompatActivity 
 ((AppCompatActivity)getActivity()).setSupportActionBar(mToolbar);
Posted by: Guest on September-03-2021

Browse Popular Code Answers by Language