Android UI Elements:-
In android ui or input controls
are the interactive or View components which are used to design the user
interface of an application. In android
we have a wide variety of UI or input controls available, We have a different
type of UI controls available in android to implement user interface for our
android applications.
Following
are the commonly used UI or input controls in android applications.
Android
TextView
In android, TextView is a user
interface control which is used to display the text to the user
Android
EditText
In android, EditText is a user
interface control which is used to allow the user to enter or modify the text.
Android
AutoCompleteTextView
In android, AutoCompleteTextView is an
editable text view which is used to show the list of suggestions based on the
user typing text. The list of suggestions will be shown as a dropdown menu from
which the user can choose an item to replace the content of textbox.
Android
Button
In android, Button is a user
interface control which is used to perform an action when the user click or tap
on it.
Android
Image Button
In android, Image Button is a user
interface control which is used to display a button with image to perform an
action when user click or tap on it.
Generally, the Image button in android looks similar as regular
Button and perform the actions same as regular button but only difference is
for image button we will add an image instead of text.
Android
Toggle Button
In android, Toggle Button is a user
interface control which is used to display ON (Checked) or OFF (Unchecked)
states as a button with a light indicator.
Android
CheckBox
In android, Checkbox is a two
states button that can be either checked or unchecked.
Android
Radio Button
In android, Radio Button is a two
states button that can be either checked or unchecked and it cannot be
unchecked once it is checked.
Android
Radio Group
In android, Radio Group is used to
group one or more radio buttons into separate groups based on our requirements.
In case if we group radio buttons using radio group, at a time
only one item can be selected from the group of radio buttons.
Android
ProgressBar
In android, ProgressBar is a user
interface control which is used to indicate the progress of an operation.
Android
Spinner
In android, Spinner is a
drop-down list which allows a user to select one value from the list.
Android
TimePicker
In android, TimePicker is a widget
for selecting the time of day, either in 24-hour or AM/PM mode.
Android
DatePicker
In android, DatePicker is a widget for selecting a date.
0 Comments