How to make a curtain menu for all Activity?

Good afternoon. A novice developer. Create a new app for Android and use the standard application template - Navigation Drawer Activity. Many described what would clicking on the menu item opens the fragment. But if you do not fragment activity and it is blind it is not displayed. The question is how to do that would blind was for all activiti. Well, or tell me how to make the transition from fragment to activity by clicking on the button.
Thanks in advance for the answer!
June 8th 19 at 17:12
1 answer
June 8th 19 at 17:14
Solution
Generally in such cases you need to use fragments. If you need is activity, then you need to do one shared activity, while others derive from total.

More the issue was discussed on SO:
https://stackoverflow.com/questions/19451715/same-...

Well, or tell me how to make the transition from fragment to activity by clicking on the button.


Intent intent = new Intent(getActivity(), YetAnotherActivity.class);
startActivity(intent);

Find more questions by tags Android