From 0cae9ea0a8a6cb9c9418078ebbec66e76ead5b9a Mon Sep 17 00:00:00 2001 From: Pedro Adame Vergara Date: Thu, 7 May 2015 11:45:50 +0200 Subject: [PATCH] Added usage. --- README.md | 56 ++++++++++++++++++++++--------------------------------- 1 file changed, 22 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index 019fa5e..ad0b0c8 100644 --- a/README.md +++ b/README.md @@ -2,47 +2,35 @@ MaterialNavigationDrawer ======================== ##**Note:** This fork is for using the native translucent status bar for following the Material Design specs better. -Navigation Drawer Activity with material design style and simplified methods
-[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-MaterialNavigationDrawer-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1114)     [![Donate](https://www.paypalobjects.com/en_GB/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K4GJELZKNEF68) +For docs, see the original repository. -It requires 10+ API and android support v7 (Toolbar)
- -[Download example apk](https://raw.github.com/neokree/MaterialNavigationDrawer/master/example.apk)
- -If you are using MaterialNavigationDrawer in your app and would like to be listed here, please let me know via [email](mailto:neokree@gmail.com)!
- -## Set up a Navigation Drawer -check the [wiki page](https://github.com/neokree/MaterialNavigationDrawer/wiki/Set-Up-a-Navigation-Drawer-Activity) - -## How to import +## How to use Add this to your build.gradle: ```java repositories { - mavenCentral() + maven{ + url "https://jitpack.io" + } } dependencies { - compile 'it.neokree:MaterialNavigationDrawer:1.3.3' + compile 'com.github.Kinnonii:MaterialNavigationDrawer:1.4.0' } ``` +If you want to use this fork, just extend the TranslucentKitKatStatusBar theme in the values-v19/styles.xml and add`true` to your styles-v21.xml. Be sure to work with dimens.xml if you have independent activities that doesn't extends from MaterialNavigationDrawer. Here are the files: -You don't know how to do something? Visit the [wiki](https://github.com/neokree/MaterialNavigationDrawer/wiki)!
-You need some examples? See the [example project](https://github.com/neokree/MaterialNavigationDrawer/tree/master/MaterialNavigationDrawer)! - -### Useful issues -For open a useful issue, please follow this little guide: - -1. Check if your issue is not opened yet. This prevent to have different questions to the same problem. -2. When you open an issue, please add the library version used, devices tested and related api. - -### External libraries used -[Material-Ripple](https://github.com/balysv/material-ripple) - -screenshot -screenshot -screenshot -screenshot -screenshot -screenshot -screenshot -screenshot +####values/dimens.xml +```xml +0dp +56dp +``` +####values-v19/dimens.xml +```xml +24dp +80dp +``` +####values-v21/dimens.xml +```xml +24dp +80dp +```