Activities and UI Widgets
Harry
· 11 Sep 2026
· 10 views
Activities
An Activity represents one screen. The launcher activity is declared in the manifest and can start further activities with intents.

Tabs and ViewFlipper
TabHost groups screens; a ViewFlipper animates between child views.


Common Widgets
- ToggleButton - on/off switch.
- AutoCompleteTextView - text entry with suggestions.
- DatePicker - date selection.
- ColorPicker / SeekBar - visual choices and sliders.




Sliders and Flippers
A slider/SeekBar drives a changing value; a flipper shows the next screen.




Key Points
- Activities plus widgets combine into real screens instantly.
- Use intents to navigate; adapters feed lists and auto-completes.
- Small demo apps are the fastest way to learn a widget.