Unit - 3 Using Indicators to Display Data to Users



Lesson Plan: Unit - 03
Subject: P15A2AAD - Android Application Development
Topic of Study: Using Indicators to Display Data to Users
Grade/Level: Master of Computer Applications
Objective: To understand Indicators to Display Data to Users with properties and events
Time Allotment: 55 Minutes


  • Using Indicators to Display Data to Users
    • The Android SDK provides a number of controls that can be used to visually show some form of information to the user.
    • These indicator controls include progress bars, clocks, and other similar controls.
    • Exa. of Rating Bar
    • Exa. of Seek Bar
    • Exa. of Progres Bar
  • Using Progressbar
    • The Android SDK provides several types of progress bars.
    • Exa.
    • The default style is for a medium-size circular progress indicator; not a “bar” at all.
    • The other two styles for indeterminate progress bar are progressBarStyleLarge and progressBarStyleSmall.
    • This style animates automatically.
    • We can set the attribute for max in this sample to 100.
    • Exa. of XML Code
    • Exa. of JAVA Code
  • Using Seek Bar
    • You accomplish this by using the SeekBar control provided by the Android SDK. 
    • SeekBar is useful for allowing a user to set a value, such as the volume. 
    • Exa.
    • It’s like the regular horizontal progress bar, but includes a thumb, or selector, that can be dragged by the user.
    • A default thumb selector is provided, but you can use any drawable item as a thumb.
    • Exa. of XML Code
    • Exa. of JAVA Code
  • Using Rating bar
    • RatingBar has a more specific purpose: showing ratings or getting a rating from a user. 
    • By default, this progress bar uses the star paradigm with five stars.
    • A user can drag across this horizontal to set a rating.
    • A program can set the value, as well. 
    • Exa. of XML Code
    • Exa. of JAVA Code

Thanks a lot for query or your valuable suggestions related to the topic.

Previous Post Next Post

Contact Form