Android Sample Coding-PART 5:
1.Progress Bar:
Progress Bar are used to show progress of a task. For example. When you are uploading or downloading something from the internet, it is better to show the progress of download/upload to the user.
<ProgressBar style="@android:style/Widget.ProgressBar.Horizontal" ... />
Other progress bar styles provided by the system include:
- Widget.ProgressBar.Horizontal
- Widget.ProgressBar.Small
- Widget.ProgressBar.Large
- Widget.ProgressBar.Inverse
- Widget.ProgressBar.Small.Inverse
- Widget.ProgressBar.Large.Inverse
Screenshot :
1.1. Progress Bar:
1.2.ProgressBar Dialog:
Download Code Here
Progress Bar
ProgressBar Dialog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2.Spinner:
Spinner are not nothing but the dropdownlist seen in other programming languages. It provides a easy way to select value from list. Clicking spinner will display a dropdownlist with the available values.
Screenshot :
Download Code Here
Spinner
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3.Toggle Button:
Toggle button allows the user to change a setting between two states.
You can add a basic toggle button to your layout with the Toggle Button object.
No comments:
Post a Comment