‫Hello, my friends.
‫We will still in the designing phase for our layouts.
‫And in this video we will start creating the menus for the three fragments.
‫So go to the resources folder, create a new Android resource directory, select menu, keep the directory
‫menu as it click okay, and here you will see a folder created and I will inside this folder create
‫a new menu resource file and the same.
‫The first menu file would be will be named as home menu.
‫Click.
‫Okay.
‫And here we go.
‫This is our first menu.
‫I will go to the split mode and inside this menu I will create an item here.
‫I will give it an ID menu.
‫Underscore search and icon will be equal to I will create it now inside the drawable.
‫Here I will create drawable resource file or sorry new vector asset.
‫I will search for search.
‫Black.
‫Or you can see this is the search icon.
‫Click okay search.
‫I will name it as search.
‫Click next and click finish.
‫And here the icon would be equal to drawable.
‫Search.
‫Okay.
‫The title would be Search and Action View class would be equal to a search view Android.
‫Search view from Android x dot Appcompat dot widget dot search view.
‫We will use it to search for the notes app show.
‫As action.
‫I will import this.
‫Create this namespace.
‫You can see it.
‫This is the namespace port as action equal to if ru.
‫We will see this later on.
‫Okay.
‫Alt+ enter to update to app Action View class.
‫And this is the Android x Appcompat widget dot search view.
‫Okay, this is our first menu item.
‫You can see it.
‫I will go to create another menu here.
‫I will name it new menu resource file.
‫I will name it as.
‫New or menu.
‫New.
‫Note, click okay.
‫And here we go.
‫We go to the split mode.
‫This is the second menu that we're going to design.
‫It's very simple.
‫One.
‫Create item ID would be menu underscore save.
‫The second.
‫Attribute would be title called Save and Show as Action.
‫All this.
‫Okay.
‫You can see the save here.
‫Without an eye.
‫The third menu I need to create here.
‫It's called menu.
‫Underscore.
‫Update.
‫Underscore.
‫Note.
‫I will go to the split mode and here it would be also a simple menu.
‫I will create an item.
‫ID would be menu underscore delete.
‫The icon would be drawable and I will create.
‫Inside the drawable.
‫A delete vector is.
‫I will search for delete and we can select this.
‫I will name it as delete here.
‫Click next, click finish.
‫And here we go.
‫I will choose delete.
‫Title.
‫No title show as action.
‫As you can see it, this icon is set it here.
‫And.
‫By this menu, we've done creating our three menus for the three fragments.