Share My Creation MSMaterialDrawer - Build Navigation drawers FAST

Discussion in 'Share Your Creations' started by thedesolatesoul, Apr 17, 2015.

  1. thedesolatesoul

    thedesolatesoul Expert Licensed User

    How much time do you spend trying to create a standard navigation drawer? Trying to find the right listview, and build the correct hierarchy in the slide menu.

    Well with this library you can build a drawer in 5 minutes with all the bells and whistles you need.

    Compatible with 2.2 Froyo!

    Works great with corwin42's AppCompat

    Contains all Google Material Design icons as IconFonts!

    [​IMG]

    [​IMG]

    [​IMG]

    How easy is it to build the drawer?
    Code:
    MDB.Initialize("MD")
        MDB.withAccountHeader(MaterialHeaderResult)
        MDB.AddPrimaryDrawerItem  (
    "Weather"  , p1.Drawable ,Null ,"99+" ,True,1"Shows the weather")
        MDB.AddPrimaryDrawerItem  (
    "Insanity" , p2.Drawable ,Null ,"2"   ,True,2"")
        MDB.AddPrimaryDrawerItem  (
    "Awesome"  , p3.Drawable ,Null ,""    ,True,2"")
        MDB.AddSectionDrawerItem  (
    "Section"  ,True)
        MDB.AddSecondaryDrawerItem(
    "Settings" ,s1.Drawable ,Null ,""    ,True ,3)
        MDB.AddSecondaryDrawerItem(
    "Help"     ,s2.Drawable ,Null ,""    ,True ,4)
        MDB.AddSecondaryDrawerItem(
    "Donate"   ,s3.Drawable ,Null ,""    ,False,5)
        MDB.AddSecondaryDrawerItem(
    "Yo"       ,Null        ,Null ,""    ,False,6)

        MD = MDB.Build

    Testing the apks!
    Main: https://www.dropbox.com/s/in5dsrg8hsq5050/MSMaterialDrawer.apk?dl=0
    AppCompat: https://www.dropbox.com/s/1d5bd0mdr2qziax/AppCompatDrawer.apk?dl=0
    Custom: https://www.dropbox.com/s/gmzwpvn0d6fq1l0/MSMaterialDrawerCustom.apk?dl=0
     
    Last edited: Apr 18, 2015
  2. thedesolatesoul

    thedesolatesoul Expert Licensed User

    I'd like to see people test the apks on both Android 5 and pre-5. If you can note and identify the differences in behaviour it would be very useful to debug and fix these.
     
    Peter Simpson and NJDude like this.
  3. NJDude

    NJDude Expert Licensed User

    Very nice!!!

    By the way, it also works under Froyo, no issues.

    Great job man.
     
  4. thedesolatesoul

    thedesolatesoul Expert Licensed User

    Thanks, updated the first post!
     
    NJDude likes this.
  5. asales

    asales Well-Known Member Licensed User

    Very nice, really!
    No issues in Android 5.0.2 and 2.3.6.

    When you plan release this library?
     
  6. Inman

    Inman Well-Known Member Licensed User

    Tested on Android 5.0 on my LG G3 and it works pretty well. And looks super-easy to implement as well.

    One thing. In the "Custom" example, when you click Dark Drawer, it still shows a Light Drawer. This is probably some coding mistake of the example and the not the library itself as the Dark Drawer worked correctly in the "Main" example.

    Can't wait for the library.
     
  7. thedesolatesoul

    thedesolatesoul Expert Licensed User

    Thanks. Hopefully this week, unless there are more changes in the original github repo.

    Yes that was a demo mistake. I've uploaded the new one, it is supposed to show a custom theme (and currently im not great at making themes).

    Since this library is a real time saver im considering releasing it donationware, but i am open to suggestions and alternatives as always.
     
    shashkiranr, NJDude and susu like this.
  8. Inman

    Inman Well-Known Member Licensed User

    Sure. Donationware is fine for me. From the looks of it, it is a real time saver.
     
  9. Mauro

    Mauro New Member Licensed User

    Wonderful library.
    Any news?

    PS
    donationware is ok for me.
     
  10. ilan

    ilan Expert Licensed User

    looks very nice... :) Good Job!
     
    jahswani likes this.
  11. Brian Robinson

    Brian Robinson Active Member Licensed User

    Hi TDS,

    I think Donationware is very acceptable. This library will give my app a fresh new look and looks like it should be quite easy to change.
    At least with Donationware I know what I am getting before paying for it.
     
  12. Jerez

    Jerez Active Member Licensed User

    I will donate... where or when can i download the library and samples?
     
  13. Jerez

    Jerez Active Member Licensed User

    Code:
    MDB.AddPrimaryDrawerItem ("Weather" , p1.Drawable ,Null ,"99+" ,True,1"Shows the weather")
    Can i replace the "99+" with a ToggleButton? or load a custom layout on each item?

    Thanks!
     
  14. thedesolatesoul

    thedesolatesoul Expert Licensed User

    The original has support I believe for Switch and Toggle Items, but I havent added them (yet).
    It doesnt support Custom layout, because this is intended to be a simple and fast way to create the drawer.

    I have sent the library to a handful of guys, and fixed some reported issues.
    Currently I dont have much time to release it as I needed to do some simple documentation and samples.
    If I dont get time, I will just release it as it is (and donationware wont be necessary).
     
    Inman, Jerez and NJDude like this.
  15. Jerez

    Jerez Active Member Licensed User

    Can you share your lib with me? i want to try it :) also i can do a donation
     
  16. thedesolatesoul

    thedesolatesoul Expert Licensed User

    Sent you a PM. Let me know if you have any problems (related to the library!).
     
    NJDude and Jerez like this.
  17. Jerez

    Jerez Active Member Licensed User

    Thanks! i will try
     
  18. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Hi.
    have it a library?
     
  19. thedesolatesoul

    thedesolatesoul Expert Licensed User

    I'm trying to write a post detailing the information about the library.
    Bear in mind, I wont have much time to answer support questions, so I'll write it once.
     
  20. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Thank you.You are best and very active,
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice