Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

DebugDrawer

> 编程语言
Open source

Android Debug Drawer for faster development

1.2K stars0 likes0 views
WebsiteGitHub

About

Android Debug Drawer for faster development

Android Debug Drawer

Faster development with Debug Drawer

Features

DeviceModule - common information about your device

BuildModule - app build information

SettingsModule - open Developer, Battery, Default settings, open app info and possibility to uninstall app directly from itself

NetworkModule - enable/disable Wifi, Mobile or Bluetooth

OkHttpModule,OkHttp3Module - common information about http client (requires extra dependency)

PicassoModule - image downloading and caching statistics (requires extra dependency)

GlideModule - image downloading and caching statistics (requires extra dependency)

ScalpelModule - tool to uncover the layers under your app (requires extra dependency). Thanks ebabel for contributing.

LocationModule - common location information (requires extra dependency)

TimberModule - log viewer with sharing feature (requires extra dependency). Thanks AntonyGolovin for contributing.

ActionsModule - any context dependent action (ButtonAction, SwitchAction, SpinnerAction)

FpsModule - measuring the FPS using Choreographer (requires extra dependency)

LogsModule - Logcat and OkHttp network calls interceptor (requires extra dependency). Credits Sloy

NetworkQualityModule - Error/delay rate managing for network calls (requires extra dependency). Credits Sloy

TODO

  • Take screenshot feature

You are always welcome to suggest modules!

Getting Started

Add Gradle dependencies:

DebugDrawer

gradle
dependencies {
   debugImplementation 'io.palaima.debugdrawer:debugdrawer:0.8.0'
   releaseImplementation 'io.palaima.debugdrawer:debugdrawer-no-op:0.8.0'
}

DebugView

gradle
dependencies {
   debugImplementation 'io.palaima.debugdrawer:debugdrawer-view:0.8.0'
   releaseImplementation 'io.palaima.debugdrawer:debugdrawer-view-no-op:0.8.0'
}

BuildModule, DeviceModule, SettingsModule, NetworkModule

gradle
dependencies {
   implementation 'io.palaima.debugdrawer:debugdrawer-commons:0.8.0'
}

ActionsModule - ButtonAction, SwitchAction, SpinnerAction

gradle
dependencies {
   implementation 'io.palaima.debugdrawer:debugdrawer-actions:0.8.0'
}

OkHttpModule, OkHttp3Module OkHttp library required

gradle
dependencies {
   implementation 'io.palaima.debugdrawer:debugdrawer-okhttp:0.8.0'
   implementation 'io.palaima.debugdrawer:debugdrawer-okhttp3:0.8.0'
}

PicassoModule Picasso library required

gradle
dependencies {
   implementation 'io.palaima.debugdrawer:debugdrawer-picasso:0.8.0'
}

GlideModule Glide library required

gradle
dependencies {
   implementation 'io.palaima.debugdrawer:debugdrawer-glide:0.8.0'
}

ScalpelModule Scalpel library required

gradle
dependencies {
   implementation 'io.palaima.debugdrawer:debugdrawer-scalpel:0.8.0'
}

LocationModule

gradle
dependencies {
   implementation 'io.palaima.debugdrawer:debugdrawer-location:0.8.0'
}

TimberModule Timber library required

gradle
dependencies {
   implementation 'io.palaima.debugdrawer:debugdrawer-timber:0.8.0'
}

FpsModule Takt library required

gradle
dependencies {
   implementation 'io.palaima.debugdrawer:debugdrawer-fps:0.8.0'
}

LogsModule Lynx & Chuck libraries required

gradle
dependencies {
   implementation 'io.palaima.debugdrawer:debugdrawer-logs:0.8.0'
}

NetworkQualityModule OkHttp library required

gradle
dependencies {
   implementation 'io.palaima.debugdrawer:debugdrawer-network-quality:0.8.0'
}

Putting All Together

1. Initialization in Activity

You could use DebugDrawer or DebugView depending on your needs

Example using DebugDrawer (For DebugView initialization check DebugViewActivity)

…

2. TimberModule

Don't forget to plant needed log trees in Application class. Tree that is used by TimberModule stored in LumberYard class.

Application class example:

java

    public class DebugDrawerApplication extends Application {
        @Override
        public void onCreate() {
            super.onCreate();

            LumberYard lumberYard = LumberYard.getInstance(this);
            lumberYard.cleanUp();

            Timber.plant(lumberYard.tree());
            Timber.plant(new Timber.DebugTree());
        }
    }

Creating and Publishing Your Own Module

Add implementation 'io.palaima.debugdrawer:debugdrawer-base:0.8.0' to your dependencies

Module must implement DebugModule interface or extend DebugModuleAdapter if you do not need lifecycle hooks

…

Sample

You can clone the project and compile it yourself (it includes a sample).

MainActivity

DebugViewActivity

Contributing

Want to contribute? You are welcome!

Pull Requests

  • Fork the repo and create your branch from dev.
  • If you've changed APIs, update the documentation.
  • Make sure your code lints.
  • Change README.md if necessary

Coding Style

  • Opening braces to appear on the same line as code
  • All variables must be camelCase
  • All resources must have dd_ prefix

Developed By

  • Mantas Palaima -

Credits

  • Jake Wharton - U2020

  • Mike Penz - MaterialDrawer

  • LemonLabs - SlidingDebugMenu

License

Copyright 2016 Mantas Palaima.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaandroidandroid-debug-drawerandroid-librarydebug

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言