• Like
Fragment を使ってみよう
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Fragment を使ってみよう

  • 14,350 views
Published

 

Published in Technology , News & Politics
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
14,350
On SlideShare
0
From Embeds
0
Number of Embeds
19

Actions

Shares
Downloads
161
Comments
0
Likes
45

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. FragmentGDD Bootcamp 2011 1
  • 2. ✤ - (uPhyca)✤ Blog : Y.A.M (y-anz-m.blogspot.com)✤ : Android Layout Cookbook✤ Twitter : @yanzm✤ Android✤ GTUG Girls 2
  • 3. Fragment 3
  • 4. Fragment 4
  • 5. Fragment 5
  • 6. 6
  • 7. → layout-xlarge 7
  • 8. 8
  • 9. ...<LinearLayout ...> <include layout=”@layout/main1”/> <include layout=”@layout/main2”/></LinearLayout> Activity 9
  • 10. Activity+ 10
  • 11. Fragment ... Fragment1 Fragment2<LinearLayout ...> <fragment android:name=”...Fragment1”/> + + <fragment android:name=”...Fragment2”/></LinearLayout> Fragment1 Fragment2Fragment Activity + + 11
  • 12. 2 12
  • 13. Fragment 13
  • 14. 14
  • 15. ... View XML URL Fragment GET-1 UI- Activity 15
  • 16. ... ioschedDashboardFragmentWhatsOnFragment 16
  • 17. ...Activity onPause(), onResume() - IntentFilter regist / unregist - ContentObserver regist /unregist - 17
  • 18. ...- UI → Fragment Fragment Fragment1 Fragment1 Fragment2 18
  • 19. ...Activity- setContentView() View → Fragment Fragment → 19
  • 20. ...Android 3.2 ActivityGroup, LocalActivityManagerdeprecated → TabHost Activity- Fragment- ActionBar.Tab 20
  • 21. ...ListView + 1 View + Adapter ListFragment View 1 21
  • 22. Fragment 22
  • 23. Fragment UI 23
  • 24. Activity - View Activity - Fragment - ViewFragment = + + View Activity View ... 24
  • 25. View 25
  • 26. View- View 1 View- View- View- View- View 26
  • 27. ViewActivity Fragment 27
  • 28. Fragment✤ View +✤ View✤ Activity✤ 28
  • 29. Fragment✤ 1 View XML <fragment>✤ View 29
  • 30. Fragment✤ View XML ... ✤ ✤ 30
  • 31. Fragment 3.0v4 Support Library 1.6 31
  • 32. View Activity Fragment 32
  • 33. ✤ View or View ✤✤ Fragment ✤ View + View View View✤ Activity ✤ Activity Fragment Fragment Window Activity 33
  • 34. 34