Side-Menu.Android icon indicating copy to clipboard operation
Side-Menu.Android copied to clipboard

how to change drawer color ?

Open ahmedsaber00 opened this issue 7 years ago • 3 comments

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

ahmedsaber00 avatar Apr 15 '17 17:04 ahmedsaber00

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.

Sourish1997 avatar Apr 17 '17 14:04 Sourish1997

can't find assembleRelease

image

ahmedsaber00 avatar Apr 18 '17 13:04 ahmedsaber00

Try build -> assembleRelease in your case.

Sourish1997 avatar Apr 19 '17 22:04 Sourish1997