To Lecture Notes

IT 372 -- Jun 4, 2025

Review Exercises

  1. Explain what these items are:
    setContentView  match_parent  wrap_content  id  dp  sp
    LinearLayout  ConstraintLayout  layout_ margin  padding
    strings.xml  SeekBar  onLongClick  MyView  onTouch  
    SQLiteOpenHelper  manifest 
    
    We have been using these items all quarter, look them up in the class notes and examples.
  2. How does a user interface constructed with Jetpack Compose differ from a traditional Android app?
    Answer: the biggest difference is that Jetpack Compose does not use a layout file, but does everything in the activity file, including the user interface. Android studio has a preview option which displays the user interface as the code is being written.

    In one sense, Jetpack Compose is similar to using LinearLayout because components stack vertically or horizontally by putting them in Column or Row components.

Four More Android Examples

Exam Info

Additional Topics