I want to change color of burger/arrow icon of navigation drawer. I know I can change it in styles, but I want change it dynamically in java. Did anybody know how to do this?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How can I create this custom Bottom Navigation on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
Using appcompat-v7:23.0.1 next code worked for me:
Use it in
public boolean onCreateOptionsMenu(Menu menu)
You can use
setTint
of the newDrawableCompat
class (from support v4 lib)For more details about drawable tinting see Chris Bane post about support lib V22.1