I want to create an android application where I have a home page which contains a Drawer Layout.When I click the Item1 in the Drawer layout I want to go to Screen for Item1 where its data entry occur.I want the same Drawer Layout here also but need to show the action bar back button instead of the drawer icon which on click saves the data in the screen and back to the home screen.Also if I click on the plus button on the right bottom corner of the Item1 screen the open a new screen(that is, Screen with name Item A) with the same drawer layout and back button.Here also if I click the back button I need to save the data in that screen and back to the Item1 screen.Below is the screens that I want.
I think google playstore works like this.it will show the drawer icon in the home screen only and in subsequent screens shows the up/back button along with the drawer layout.I want exactly the same. How can I create screen structure like this.Which one to use for Item1 and Item A screen? Whether to use Fragments or Activity which extends a Base Activity in which drawer is defined.If fragments how can I get back to Item1 on back button click from Item A screen and then to home from Item1 screen.I am really confused by these fragments and Activity.