Contents
View is a basic building block of UI (User Interface) in android. A view is a small rectangular box that responds to user inputs. Eg: EditText, Button, CheckBox, etc. … In simple terms, a view is a user interface feature that we interact with when we use an app, such as a button, editing text and images, and so on.
What are the types of views in Android?
Types of Android Views
- TextView.
- EditText.
- Button.
- Image Button.
- Date Picker.
- RadioButton.
- CheckBox buttons.
- Image View.
What are views in Android SDK?
A View occupies a rectangular area on the screen and is responsible for drawing and event handling. The View class is a superclass for all GUI components in Android. Commonly used Views are : EditText.