Yes, I'm currently using this class. The problem is that it loads a
drawable, which I do not know how to apply a tint to. There could be
something that I'm missing, but I've not found a way yet.
- Kevin
On Thursday, May 22, 2014 5:51:39 PM UTC-4, Kostya Vasilyev wrote:
This is the class
You'll need to copy the source code for ActionBarDrawerToggle.java into
your project, possibly renaming (I forget if it somehow gets wired into the
action bar automagically or has to be done from application code).
Make changes to how the constructor initializes mDrawerImage, applying
color tint.
We're trying to theme an app that uses a navigation drawer and I want to be
able to tint/color the icon for the navigation drawer with an @color. For
the life of me I cannot find any information or hints on how to accomplish
this. I would really appreciate any hints on doing this. Thanks.
-
This is the class responsible for that pedestrian crossing icon:
https://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle.html
It's in the support library. The code as it is just loads an image from a
resource resource, but should be easy to change to apply a color
4 matches
Mail list logo