Skip to content

Commit

Permalink
Improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgomezrico committed Jun 22, 2017
1 parent 425c4d8 commit 6aac721
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
Make developers life easier with some tools, you can add it to your debug builds and have some debug
libraries like [Leakcanary](https://github.com/square/leakcanary) and others without extra work.

Library contains:
- [Debug Drawer Menu](docs/debug-drawer.md): right menu with features for development, (*yeah, it's for you! developer!*).
* __Note:__ check [sample](sample/) for a working project using this library to see how it works.
* __Note:__ check [shake to report bug feature](docs/custom-bug-report-service.md)

The [Debug Drawer Menu](docs/debug-drawer.md): right menu with features for development.

![](img/sample.gif)

- [ViewServer](https://github.com/romainguy/ViewServer): helps to debug layouts with more devices.
- __Note:__ check [sample](sample/) for a working project using this library to see how it works.
- __Note:__ check [shake to report bug feature](docs/custom-bug-report-service.md)

Looks like we cant get

Contains [ViewServer](https://github.com/romainguy/ViewServer) to help you to debug layouts with more devices.

## Add to gradle project

Expand Down
15 changes: 10 additions & 5 deletions docs/debug-drawer.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
# Debug Drawer

![](img/debug-drawer.jpg)

## How to use it

**Please** check the [sample/](sample/) project.
**Please** check the `sample/` project.

1. Add this on `BaseActivity.onResume` so your child activities always add it to each activity:

- _Note: You **should** create a `BaseActivity` class and make everything inherith from it, the idea is that
you just put this code in your `debug` buildType and not in `release`._

1. Add this on each activity `onResume` so your child activities always add it to each activity:
- _Note: you build your own menu with the features you want_

Java:
```java
@Override
private DebugDrawer mDebugDrawer;

@Override
protected void onResume() {
super.onResume();

Expand Down
Binary file added img/sample.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6aac721

Please # to comment.