LECTURE – 04-a
MOBILE APPLICATION
DEVELOPMENT
By: AbuBakar Ubaid
BASIC VIEWS
By: AbuBakar Ubaid
Basic Views
• Button
• ImageButton
• CheckBox
• ToggleButton
• RadioButton
• RadioGroup
3
Button
• Represents a push-button widget
4
ImageButton
• Similar to the Button view, except that it also displays an
image
5
CheckBox
• A special type of button that has two states: checked or
unchecked
6
RadioGroup and RadioButton
• The RadioButton has two states: either
checked or unchecked. Once a
RadioButton is checked, it cannot be
unchecked.
• A RadioGroup is used to group
together one or more RadioButton
views, thereby allowing only one
RadioButton to be checked within the
RadioGroup.
7
ToggleButton
• Displays checked/unchecked states using a light indicator
8
ProgressBar View
• Provides visual feedback of some ongoing tasks, such as
when you are performing a task in the background.
• For example, you might be downloading some data from the
Web and need to update the user about the status of the
download.
9
AutoCompleteTextView View
• The AutoCompleteTextView is a view that is similar to
EditText (in fact it is a subclass of EditText), except that it
shows a list of completion suggestions automatically while the
user is typing.
10
LECTURE – 04-a “Basic Views”
THANK YOU
By: AbuBakar Ubaid