
We know that Android Studio has many different types of Widgets or Android Elements such as Button, Toast, Edit Text, TextView, ImagView, DatePicker, ScrollView, Progress Bar, Checkbox etc. Without These widgets App making is impossible in Android Studio. In this tutorial you will learn widgets type and its purpose of use.
Android Button Widgets:
If you want event handling in your app like Click on a particular thing or area will naviagte to another area or activity or execute some other operation than you can do this using a Button.
TextView Android Widgets:
If you want to labeling in your app then using TextView it is possible. It a type of TextEditor.
Toast Widgets:
If you want to show your message or information to user temporary or short period of time then you must use of Toast.
ImageView Widgets:
As name suggest it will used for showing your images into your android app.
EditText Widgets:
If you want to accept data or information from your users in app then you can use EditText which allows them to enter or write information inside it.
CheckBox Widgets:
If you want to make app such as a Quiz app with multi choice answers than for your multi answers you should use CheckBox to accept multi answers from your app users easily.
RadioButton Widgets:
If you want to give your users to select a single choice value such as allow them to choose their Gender either as Male or Female then you can use Radio Button inside your app easily.
Togglebutton Widgets:
It will provide a eficient way to turn on or turn off something in your app from your users input.
Spinner Widgets:
If you want to allow your users to selct a option from a drop down list than you can spinner in your Android App.
DatePicker Widgets:
It will allows to pick a date from the DatePicker Dialog.
TimePicker Widgets:
It will allows to pick a time from the timePicker Dialog.
ScrollView Widgets:
If you have a large number of data or information to show in the app than without scrollview your users will be able to see this data only which is visible to their mobile screen. So ScrollView enables to your users to scroll to last to see complete information easily. It is of two type such as: Horiontal and Veritcal ScrollView.
ProgressBar Widgets:
If you are performing a time consuming task than you should use ProgressBar that your users will know that how much process is done or remaining to excecute the operation.
WebView Android Widgets:
A WebView is a type of View to show or render your Web Pages inside your app.
There are a number of widgets is remaining which we will discuss about all these widgets in details with example in our next tutorials.
Leave a Comment
You must be logged in to post a comment.