Let us see the various types of menu in Android:
The Options Menu is a collection of options for an activity. It has a set of items that are useful to perform actions. It helps us to combine multiple actions together.
Following is an example of Options Menu:
Pop-Up menu is a menu that displays a list of items in a popup window. A pop-up menu appears below the view by default, in case there is no space, it appears above it.
A contextual menu is a floating menu. It appears only when the users long-press an element or right clicks on that. It generally affects the selected element.
#android tutorials #android menu #android menu types #contextual menu #menu android #menu in android #options menu #types of menu in android
Want to learn HTML5 and CSS3 from scratch?
This is the seventh episode of my “Learn HTML5 and CSS3” course. In this course, we will learn everything about how we can create markup for a website. At the end of the course, I will add some full tutorials where I will be creating famous websites from scratch. So, if you have any suggestions, just let me know and I might make a video about it!
In this episode, we will be adding comments in HTML5 and CSS3. I will also talk about the advantages of using comments and why you should use comments. There are more reasons why you should use comments than I explained in the video so I will add a couple extra right here.
Commenting code blocks out
Being able to comment out in HTML helps in easy debugging or testing. Sometimes you find errors in your code but aren’t sure where or what is the exact problem.
Understanding your own code later on
html comment tag provides us flexibility to understand it better way. According to our experience, Finest developers need to memorize it and utilize it during writing code
Comments show respect for the next developer to read your code
Source code should be written in the way that you yourself would most like to encounter unfamiliar code
#css3 #html5 #comments in html5 and css3