Simple Side Drawer at Yokohama2012.11

  • 17,344 views
Uploaded on

SimpleSideDrawer is an android library to add a drawer navigation into your android application. This library has high affinity with other libraries like ActionBarSherlock or …

SimpleSideDrawer is an android library to add a drawer navigation into your android application. This library has high affinity with other libraries like ActionBarSherlock or etc.

https://github.com/adamrocker/simple-side-drawer

More in: Technology
  • 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
17,344
On Slideshare
0
From Embeds
0
Number of Embeds
9

Actions

Shares
Downloads
22
Comments
0
Likes
7

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. Slide Menu 2012/11/23 adamrocker日本Androidの会横浜支部 第15回定例会
  • 2. Self-IntroductionMasahiko Adachi@adamrocker・Developing the Simeji・Google Developer Expert (Android)・Android Maniax (Magazine: Nikkei Software)
  • 3. Drawer? Android Designs
  • 4. SimpleSideDrawer http://goo.gl/h0hOH
  • 5. Slide-out menu library
  • 6. How to use
  • 7. How to use
  • 8. How to use
  • 9. POINTS・Easy to use: Only 2 lines・High affinity with other libraries like ActionBarSherlock・Light weight library (Only less than 6.5KByte)
  • 10. POINTS・Easy to use: Only 2 lines・High affinity with other libraries like ActionBarSherlock・Light weight library (Only less than 6.5KByte)
  • 11. How does it work?Before
  • 12. How does it work?After
  • 13. DecorViewdecor
  • 14. DecorViewdecor
  • 15. SimpleSideDrawer decor
  • 16. SimpleSideDrawer decor decor = mWindow.getDecorView(); above = docor.getChildAt(0); decor.removeView(above);
  • 17. SimpleSideDrawer Frame decor Layoutframe = new FrameLayout(...);
  • 18. SimpleSideDrawer Frame decor Layoutframe = new FrameLayout(...);menu = layoutInflater.inflate(R.layout.menu)
  • 19. SimpleSideDrawer Frame decor Layout frame.addView(menu); frame.addView(above);
  • 20. SimpleSideDrawer Frame decor Layout frame.addView(menu); frame.addView(above);
  • 21. SimpleSideDrawer Frame decor Layout decor.addView(frame);
  • 22. SimpleSideDrawer Frame decor Layout decor.addView(frame);
  • 23. Thank youニャー ニャー