Simple Side Drawer at Yokohama2012.11

21,687 views
21,879 views

Published 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 etc.

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

Published in: Technology
0 Comments
8 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
21,687
On SlideShare
0
From Embeds
0
Number of Embeds
18,448
Actions
Shares
0
Downloads
28
Comments
0
Likes
8
Embeds 0
No embeds

No notes for slide

Simple Side Drawer at Yokohama2012.11

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

×