Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to change drawer color ? #65

Open
ahmedsaber00 opened this issue Apr 15, 2017 · 3 comments
Open

how to change drawer color ? #65

ahmedsaber00 opened this issue Apr 15, 2017 · 3 comments

Comments

@ahmedsaber00
Copy link

more details please
you said
"To change drawer color you have to use this lib as com.android.library and change it manually"
but i couldn't understand

@Sourish1997
Copy link

For now, to change the drawer color, you have to perform the following steps:

  • Clone the repository from Android Studio.

  • Navigate to library -> src -> res -> drawable.

  • Under the different drawable folders, you will find item_up.png and item_down.png. You have to replace these with your own renditions.

  • Once you're done, open the gradle tab on the top right corner of Android Studio and navigate to library -> Tasks -> other -> assembleRelease.

  • On double clicking assembleRelease, a library-release.aar will be created in library->build->outputs->aar.

  • Now open the project in which you want to use this library.

  • Go to File -> New -> New Module -> Import .JAR/.AAR Package and click on Next.

  • Under File Name, navigate to your newly created library-release.aar file, enter any name under Subproject name and click on Finish.

With these steps, your modified library is now added to your project. Alternatively, you can also include the library as a module in your project, but since you're essentially using this as a library, I believe this is the more proper way to do it.

@ahmedsaber00
Copy link
Author

can't find assembleRelease

image

@Sourish1997
Copy link

Try build -> assembleRelease in your case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants