Android labs part1

  • View
    232

  • Download
    1

Embed Size (px)

DESCRIPTION

Android labs part1 - View/View Group

Text of Android labs part1

  • 1. Android Part IView/View Group 1

2. Java Nested class / interface / Listener / Inheritance / Override Anonymous class I/O Thread2 3. UI Design (/)& Copy Resources AndroidManifest.xml Layout (UI)Activity UI components as attributes initView() initHandler() 3 4. Lab01 TextView EditView Button Button Listener 4 5. Lab02 Toast Toast with position Toast with Image 5 6. Lab03 AlertDialog.Builder AlertDialog.Builder setSingleChoiceItems AlertDialog.Builder setMultiChoiceItems SparseBooleanArray checkedItems = ((AlertDialog)dialog).getListView().getCheckedItemPositions(); 6 7. Lab04 ImageView SeekBar ToggleButton / Switch SDK 7 8. Lab05 8 9. Lab06 WebView 9 10. Lab07 UIDatePicker 10 11. Lab08 ImageView MotionEvent 11 12. Lab09 CheckBox RadioButton RadioGroup 12 13. Lab10 Spinner Resource String Array 13 14. Lab11 AutoCompleteTextView 14 15. Lab12 ListView Adapter 15 16. Lab13 ProgressBar runOnUiThread 16 17. Lab14 ProgressDialog runOnUiThread 17 18. Lab15 TimePickerDialog 18 19. Lab16 RatingBar 19 20. Lab17-19 Menu(3.0+ icon won't display) (OptionsMenu) (ContextMenu) (SubMenu) 20 21. Lab17 Menu(3.0+ icon won't display) (OptionsMenu) 21 22. Lab18 Menu(3.0+ icon won't display) (OptionsMenu) 22 23. Lab19 Menu(3.0+ icon won't display) (SubMenu) 23 24. Lab20 GridView 24 25. Lab21 TabbedActivity 25 26. Lab22 ImageSwitcher 26 27. Lab23 TextSwitcher 27 28. Lab24 ViewFlipper 28 29. Lab25 Gallery 29