To Lecture Notes

IT 372 -- June 3, 2019

Practice Problems

  1. Research and test the SeekBar widget.
    Ans: Here are the XML layout file and the Java activity file. The SeekBar class is a class derived from ProgressBar, which represents a value by its horizontal position on the bar. This position is the progress attribute. Here are the relevant properties of the SeekBar:

    Attribute Description
    progress Value represented by the seek bar.
    min Minimum progress value of seek bar
    max Minimum progress value of seek bar
  2. Write an Android app that connects the dots to draw a five pointed star.
    Ans: See the DrawStar Example.
  3. Write an Android app that connects the dots to draw the rivers for Project 4.
    Ans: See the DrawRivers Example.
  4. Look at the TouristInfo Example.
  5. Finish the HPCalculator Project. Here are the layout file and activity file with event handler stubs to get you started:
    activity_main.xml    ActivityMain.java    Here is also an emulator screen shot.

Introduction to Kotlin

Setting the App Icon

Themes