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.

PS - I highly recommend this Chrome extension to look up Android source
code:

https://chrome.google.com/webstore/detail/android-sdk-search/hgcbffeicehlpmgmnhnkjbjoldkfhoin

-- K



2014-05-23 21:03 GMT+04:00 Kevin Kovach <kov...@gmail.com>:

> 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 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 tint.
>>
>> -- K
>>
>>
>> 2014-05-23 0:25 GMT+04:00 Kevin Kovach <kov...@gmail.com>:
>>
>>> 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.
>>>
>>> - Kevin
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-d...@googlegroups.com
>>>
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to android-developers+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to